Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To get Link names randomly and to click..
#3
Solved: 11 Years, 2 Months, 4 Weeks ago
The below code has given me the total links count in the browser

Code:
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Links = Browser("Sample").Page("SamplePage").ChildObjects(oDesc)
Msgbox "Total links: " & Links.Count

See the attache ss

Thanks
-Ram


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: To get Link names randomly and to click.. - by ramkumn - 03-30-2010, 04:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to test if application logout randomly ab4abhisek 1 1,479 09-25-2018, 03:11 PM
Last Post: Ankur
  How to click on link available in excel file vikrant 1 2,413 02-15-2014, 12:51 PM
Last Post: vinod123
  IE Error occurs randomly while running from QC from different machine likit143 2 4,334 10-27-2011, 10:55 AM
Last Post: ravi.gajul
  "Reply error" randomly appears in Quality Center while running QTP scripts from there alhifizik 0 3,441 07-21-2011, 06:26 PM
Last Post: alhifizik

Forum Jump:


Users browsing this thread: 2 Guest(s)