Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to identify top browser from a lot of browsers?
#1
Solved: 11 Years, 3 Months, 3 Weeks ago Sad 
Hello,
Please read the following script

Code:
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Links = Browser("title:=Google").Page("title:=Google").ChildObjects(oDesc)
Msgbox "Total links: " & Links.Count
Links(3).click
Browser("title:=.*").back

When the Browser("title:=.*").back is executed, there is a error message:"The "[ Browser ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object."

How can we identify the current browser after Links(3).click without using additional properties?

Thank you.
Reply


Messages In This Thread
How to identify top browser from a lot of browsers? - by guocnc - 03-01-2009, 11:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Running test with multiple browsers mvi63 0 2,771 06-25-2014, 06:49 PM
Last Post: mvi63
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,458 03-11-2014, 12:13 PM
Last Post: devarapallliramana
Rolleyes QTP 11 not identify PDF Browser laxminaranaya 1 2,387 02-25-2014, 01:34 PM
Last Post: guin.anirban
  Multiple 2 IE browsers are being displayed VA1405 1 1,876 01-15-2014, 07:20 AM
Last Post: basanth27
  Will Object Property Differ across browsers?? qtplearner88 7 4,027 07-30-2013, 07:18 PM
Last Post: qtplearner88

Forum Jump:


Users browsing this thread: 5 Guest(s)