Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drop down list embedded in a table
#1
Solved: 11 Years, 4 Months ago
Hello,

I have a dropdown list embedded in a cell of a grid(table).
The user has to click once on the cell to get the focus on the dropdownlist and another click to activate and view the drop down list's elements.
Both the table of type Webtable and the drop down list of type Weblist are being captured by QTP and they are found in the object's repository with the correct Id and name.
However when i run my scenario i am always getting an error that the weblist object could not be found eventhough in my scenario the focus is on the dwop down list and it is viewable.

Is there a solution for this problem?
Reply
#2
Solved: 11 Years, 4 Months ago
Try the below line of code for this there is no need of the weblist to be there in OR. I am assuming that OR has the webtable.

Code:
browser("browserName").Page("PageName").WebTable("WebTableName").ChildItem(iRow,iCol,"WebList",0).Click

Thanks,
-Ashok
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Drag and drop issue excellentpawan123 0 2,746 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drop down list class is a link thotamurali 2 4,195 08-22-2014, 05:48 PM
Last Post: thotamurali
  Webedit embedded in a Webelement, cannot be identified Dev509 0 2,969 07-14-2014, 10:03 PM
Last Post: Dev509
  Selecting values from drop down using QTP. prempujaripati 2 46,768 06-26-2014, 06:06 PM
Last Post: rasmirani
  issue in drag and drop excellentpawan123 0 2,331 05-15-2014, 04:36 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 1 Guest(s)