How to get Links count in an web application,without
descriptive programming?
Answer Posted / chaitu
This Script is Helpfull to count the No.of links in a web
page
Step1: Set Objects = Browser("BrowserName").Page
("PageName").ChildObjects
Step2: Objectcount = Objects.count
Linkcount = 0
Step3: For i = 1 to Objectcount-1
Link = Objects(i).GetROProperty("micclass")
If Link = "Link" Then
Linkcount = Linkcount+1
msgbox Linkcount
End If
Next
msgbox Linkcount ' It show total number links
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
How to check which add-ins are associated with a test in qtp?
What are the different recording modes?
How will you test a keyboard?
How do you check ticket cost and ticket number in flight application?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
Explain about the test fusion report of quicktest professional?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
What is the XML file architecture ?
what type of run time errors you get while you ar edoing rpg program?
How can I import environment from a file on disk?
How many tabs are available to view your test in a test pane and what are they?
What is synchronization? What are the ways you can synchronize?
when will you do debug your script? and explain that process?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?