How to find the number the number of Links, Brolken Links
in a webpage?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the factors on which script execution time is dependent?
How to handle dynamic objects in quicktest professional (qtp)?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Can anybody send me the code to get the RO property of the active screen in QTP while running?
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)
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
what are the files created after executing QTP script file, please specify the file names with extensions
Give a comment on Regular Expressions using QTP?
Differenece betwen Project and product ? when company need project or product?
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
How to Run a Test using QTP?
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?