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
105
recognition of dropdown values within a grid
posted

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?

Parents
No Data
Reply
  • 6729
    Suggested Answer
    Offline posted

    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

Children