Environment: Visual Studio 2005 SP1, Test Advantage 8.3, controls are from .NET Advantage 8.3.
When clicking on the drop down arrow on the control which in a cell of a grid, it is properly recognized as:
GrdItemListTable2().Click(AtList( _ AtCell( _ AtRow(AtLocation("AddRow")), _ AtColumn(AtText("GL Account"))), _ AtLocation("DROPDOWN")))
However, when clicking on a value in the drop down it's only recorded as:
Click(AtCell(AtRow("ID", "Auto"), AtColumn(AtText("ID"))))
Which generates an error: Name 'Click' is not declared. I'm assuming this is because there is no object recognized? Any idea how to work around this, or what I might be doing wrong?
Hi,
You are right, there is something wrong with the way clicking on the DropDown is getting recorded. There is no TestOIbject in the second click action. It should record something like this:
UltraDropDown1Table().Click(AtCell(AtRow("ID", "Auto"), AtColumn(AtText("ID"))))
Can you check if there is a TestObject in your Script Explorer named "UltraDropDown1Table" if not try adding it to the Object map. (use the "Time Delayed" selection method)
Also try recording again on a fresh RFT project as the test object should be added automatically just like any other test object.
Please let me know if you still have issues
Regards,
Ammar
That object definitely isn't in my object map in script explorer nor the test object map window.
I tried adding the test object using the time delayed selection method directly from the script explorer. When the countdown finishes, the "Select an Object" window closes leaving me with the "Progress Indicator" window that comes up before the "Select an Object" window opens. I have to end task on the javaw.exe process to get this window closed and return control to Visual Studio so I can keep working (after ok'ing the error dialog that ending this task causes that tells me "Rational.Test.Ft.TargetGoneException ftc2").
I also tried adding the test object from the Test Object Map window, with similar results. In this case, when the countdown completes the window closes leaving me with the "Private Test Object Map" taskbar entry but the window cannot be restored. The only way to get rid of it is to end task on javaw.exe again.
Both of these results seem to indicate a major problem detecting the presence of any object at all.
Test Object Inspector does show an entry "DropDownManager+DropDownForm" with a ChildClass of Infragistics.Win.UltraWinGrid.ComboDropDownControl, but nothing next to "Name:". The properties for this entry show the product name as Infragistics2.Win.UltraWinGrid, version 8.3.20083.2039.