Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
object's description matches more than one
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
Code:
B=Browser("name:=.*").Page("title:=.*").WebElement("html tag:=B","height:=14" , "index:=0").exists

B=Browser("name:=.*").Page("title:=.*").WebElement("html tag:=B","height:=14" , "index:=1").exists

B=Browser("name:=.*").Page("title:=.*").WebElement("html tag:=B","height:=14" , "index:=2").exists

B=Browser("name:=.*").Page("title:=.*").WebElement("html tag:=B","height:=14" , "index:=3").exists

B=Browser("name:=.*").Page("title:=.*").WebElement("html tag:=B","height:=14" , "index:=4").exists


can i use loop instead of this if yes how?
Reply


Messages In This Thread
RE: object's description matches more than one - by sia sharma - 10-18-2012, 12:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Taking Property values in Description objet throw Excel Sheet devarapallliramana 3 3,127 03-11-2014, 10:50 PM
Last Post: supputuri
  error with msdn's description of overwrite value of CreateTextFile ?? anu05446 1 2,594 03-10-2014, 02:48 PM
Last Post: basanth27
  Description about Types of Ordinal Identifier abhijit.airforce 1 2,501 12-27-2013, 02:57 PM
Last Post: Ankesh
  WebElementobject's description matches more than one of the objects sumanth 5 3,904 10-29-2013, 03:15 PM
Last Post: Sathiya
Sad Empty Server description SAP GUI 7.20 with QTP11 sylvester618 2 4,705 09-10-2013, 06:05 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)