Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Count number of specific elements on a web page
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
hi,

As per the above discussion, count function will give you the count of your desired elements.

Now before that,to differntiate the browers you can use ordinal identifiar (EX: Index).

Code:
Browser("Name:= abc","Index :=0").Page("innerhtml := def").Activate

Browser("Name:= abc","Index :=1").Page("innerhtml := def").Activate


Use the appropriate names.Hope it should work for you...
Smile
Reply


Messages In This Thread
RE: Count number of specific elements on a web page - by A.Saini - 09-27-2010, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can QTP handle slick grid table in a web page qtplearner88 2 4,508 10-01-2019, 10:44 AM
Last Post: shilpi952
Question Find specific records in a SwfTreeView on different node levels lotos 0 2,421 10-06-2017, 05:14 AM
Last Post: lotos
  Click on calender on specific date. venkatesh9032 1 3,903 12-02-2015, 07:30 PM
Last Post: nistalaramesh
  DP Web Browser/Page issues rstimers 1 2,452 08-14-2015, 12:37 PM
Last Post: venkatesh9032
  How to get center data value in a odd number of rows and columns web table ... sai rajesh 0 2,798 11-13-2013, 10:24 PM
Last Post: sai rajesh

Forum Jump:


Users browsing this thread: 4 Guest(s)