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
Explain advantages and disadvantages kdf?
What is the default add-ins in qtp?
Explain different types of action in qtp?
how to test use the quality control .how to verify the image verification
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
what is the difference between modular framework & datadriven framework
What are the differences between quicktest professional (qtp) and winrunner?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
What are the types of properties that quick test learns while recording?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
what is the difference between data driver & data driven and driver script?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
What is difference between design time and run time data table?