How can i select a radio button from an ultragid...when i record the script it give me the co-ordinates which i think i shudnt be relying on!
Are there any properties which can have me the desired radio/checkbox control selected?
Is the application that you are testing WPF or Windows Forms? I am asking this because the post is in the TestAdvantage for WPF forum and you mention the UltraGrid which is a Windows Forms control.
Assuming that you are using the UltraGrid, then you would need TestAdvantage for Windows Forms for the same volume as the volume of NetAdvantage that was used to develop the application under test. Have you installed TestAdvantage for Windows Forms already?
With TestAdvantage for Windows forms, SetCellData is the action that should be recorded when you change the values of cells and this is true if the cell has radio buttons or you are editing text.
Let me know if you have any questions with this matter.
Thanks a ton for replying soon!
Well, i checked with the developers and got to know that the Net Advantage version they are using is "Infragistics NetAdvantage (.NET 2.X) 2006".
I wasnt able to find out the relative Test Advantage version under the downloads section....can you help me out with it or should i install the available "Download TestAdvantage for Windows Forms (for HP QuickTest Professional software) 2007 Volume 1 (for CLR 2.0)" version...will that work?
Thanks for the detailed info regarding my query.
The NetAdvantage version used is "NetAdvantage 2006 Volume 3 CLR 2.0" and i'm using QTP 11 to test it.
Looking at those posts, are you suggesting me to use older versions of QTP to test the AUT?
And with the workarounds and fixes mentioned in the second post will i be successfull to use QTP 11 and leverage the inbuilt properties to test?
I can/cannot use the previous versions if you suggest me to do so but it would be good if we stick with the latest one i.e QTP 11.(As this has been confirmed with the upper mgmt)
I have created case CAS-113566-M0T9F0 for this and provided you a link to download the older version of TestAdvantage through the case.
Using an older version of QTP may work better for the older version of TestAdvantage though you could test QTP 11 and see if you have any issues. Note that we haven't done any testing with QTP 11 and a volume of TestAdvantage this old as TestAdvantage 2006 Volume 3 hasn't been supported for over three years now.
For the workaround with the installer, this should allow you to install the older version of TestAdvantage. For the breaking changes with QTP 10, I am not sure how much of an issue this is with TestAdvantage 2006 Volume 3 and you may be able to do what you need with QTP 11 or you may have issues. If you have issues, then you would need to modify the source code which you would first need to purchase the product to obtain.
A biiiiig thank you for following it up for my issue..really buddy u rock!....I'm just gonna have it installed and analyzed with QTP 11, lemme see how it takes up.
You have really been supportive and really helpful alan....thanks again!
Well just wanted to update you that..yes, it is able to identify the windows forms and i'm able to work up with the new list of properties. I actually needed to do code changes to my existing script as it had lots of changes related with this add-in. I got couple of error for properties such as ActivateRow, SelectRow, DoubleClickRow, GetCellData etc as they were throwing errors asking for passing valid Int16 parameter etc...but i found a way out having the parameters passed as "SwfWindow("window").SwfWindow("window").SwfTable("uitempUltraGrid").ActivateRow cstr(clng(counnt))" which worked out for all the above mentioned properties. Dunno whats wrong with passing out linear parameter value rather than converting this up!
Anyways, currently i'm happy to have the add-in installed...life's become much easier now, lets see how it shapes up ahead!
Thanks for your support though....this would have been impossible...
A small query....how should i be able to get the list of items in the tool bar...
give me error saying "unknown toolbar argument type"????
It sounds as though the argument that you are passing in isn't valid. You could try recording on the toolbar to see what is recorded and you should be able to use that when writing your script for replay. You could also ask you developers for the key of the toolbar since that is what the parameter for the GetItemsCount method is expecting.