How to find the number the number of Links, Brolken Links
in a webpage?

Answers were Sorted based on User's Feedback



How to find the number the number of Links, Brolken Links in a webpage?..

Answer / rayudu

By using childobject method


Set linkDescObj=description.Create()
linkDescObj("micclass").value="Link"
Set Links=browser("Gmail: Email from Google").Page("Gmail -
Inbox -srikrishna").ChildObjects(linkDescObj)
NoOfLinks=Links.count()
msgbox NoOfLinks
For i=0 to NoOfLinks-1
linkName=Links(i).getROProperty("name")
msgbox linkName
Next

Is This Answer Correct ?    3 Yes 0 No

How to find the number the number of Links, Brolken Links in a webpage?..

Answer / nadikattu2002@yahoo.com

Using page check points u can check no of links,broken
kinks in a page.

Is This Answer Correct ?    1 Yes 1 No

How to find the number the number of Links, Brolken Links in a webpage?..

Answer / less than you

Choose Standard check points either from Active screen or from keyword view, a Object selection properties box will appear from there select page (upper most) and click on OK.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  


we have 5 default properties we want add more Default property in Object Repository how to add the property

2 Answers   Nous,


what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?

2 Answers  


How qtp recognizes the object?

0 Answers  


What is the quicktest professional testing process?

0 Answers  






what are pretesting activities

0 Answers  


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1 Answers   IBM, INCA,


how to run the script If QTP tool not identify object in web page

2 Answers  


Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ

3 Answers  


What is Unicode Compatibility?

0 Answers   HCL,


How to Import the data from MS-Access in QTP?

1 Answers  


What is Associate Repository in QTP 9.2 ?

0 Answers  


Categories