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 are the factors on which script execution time is dependent?

0 Answers  


How to handle dynamic objects in quicktest professional (qtp)?

0 Answers  


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

0 Answers   ABC, scintel,


Can anybody send me the code to get the RO property of the active screen in QTP while running?

9 Answers  


Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)

2 Answers  






supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

0 Answers   IBM,


what are the files created after executing QTP script file, please specify the file names with extensions

1 Answers   Virtusa,


Give a comment on Regular Expressions using QTP?

4 Answers  


Differenece betwen Project and product ? when company need project or product?

4 Answers   Accenture,


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


How to Run a Test using QTP?

1 Answers  


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


Categories