Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trouble with pull down menus and data tables.
#1
Not Solved
I am trying to write a test case where it registers a new user each time it is ran. I set up the test with a global data table to use in each field on the registration form. The problem is that the registration form on the app has pull down menus for state and country. I have columns in my table for that information and I have code that tells QTP what to put in there. this is an example of one line of the code:

Code:
Browser("FindAResident").Page("FindAResident").WebList("state_cd").Select DataTable("STATE_CD", dtGlobalSheet)


When I try to run the test, it hangs on this step and gives me an error that says "Cannot identify the specified item of the state_cd object. Confirm that the specified item is included in the object's item collection."

How do I fix this? I have tried to update the object in the Object Identifier and I am either not doing it correctly, or its not working.
Reply


Messages In This Thread
trouble with pull down menus and data tables. - by purailin - 05-15-2008, 12:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble Getting UFT to Work with Simplified Chinese hhamilton 2 3,010 03-10-2016, 09:35 AM
Last Post: vinod123
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,715 09-02-2014, 10:01 AM
Last Post: vinod123
  Web tables dineshreddymca 3 4,481 03-15-2013, 07:02 AM
Last Post: basanth27
  How to read data tables in DBVisualizer sqadri 1 3,062 04-13-2012, 10:32 AM
Last Post: sshukla12
  Having trouble integrating QTP with Ant and a multi-module Adobe Flex application peachy32514 0 4,794 03-24-2012, 02:39 AM
Last Post: peachy32514

Forum Jump:


Users browsing this thread: 3 Guest(s)