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

What is an expert view and keyword view?

0 Answers  


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

2 Answers  


What is time parameter?

1 Answers  


How do u write a regular expression for date (dd/mm/yyyy) field ?

4 Answers   Semantic Space,


Per-Action Vs Shared repository?

5 Answers  






How to data driven test for Win objects in QTP ?

0 Answers  


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

0 Answers  


What is the use of text output value in quicktest professional (qtp)?

0 Answers  


How function returns a value?

1 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


how do u prepare Test Environment ?

1 Answers  


Categories