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
What is the Difference between test object and run time object?
Explain the concept of how quicktest professional identifies object?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How to add verification steps to tests?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
What are the types of environment variables in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Write a script to customize the test results in PDF and HTML format.
What are the trigger events in qtp?
What is Port testing. Whhen will you perform?
What is Unicode Compatibility?
tell me QTP standards ?plz
wht type of User defined functions or Java Releated functions do we write in VB scripting
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?