Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
86
Help using SwfTable
posted

Hi,

Our AUT is a .NET application using Infragistics controls, we have QTP10 and are using the Infragistic TestAdvantage add in.

With in a SwfTable there is a column and I would like to test that the name of it is correct. The following code sorts the column:

SwfWindow("Traffic Volume Information").SwfTable("DefaultEntityListGrid").Sort 0, "Description", "Ascending"

As you can see the Column name is Description, and we would like to test that along with additional column names. The problem is that we do not know how to do it? Description is no where in the object repository and only the entire grid appears there.

I have tried the following but it's obviously not correct:

x = SwfWindow("Traffic Volume Information").SwfTable("DefaultEntityListGrid").GetROProperty("text")

I guess I'm asking how I can input the column names (Description in this case) into the variable 'x' so I can do a test on it.

Thanks for any help.

Parents Reply Children
No Data