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 |
does qtp runs on internet explorer 7.0
Can we record using all the modes in a single script? Explanation with example is appreciated
what is mean by output parameters? I need full description with example. tell me any one please
How are actions and functions different in QTP?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
When testing a web application, the url for each page changes, so using QTP how do u handle this scenario. If anyone knows please answer in detail about the whole procedure. Thanks a lot.
How to handle recovery scenario for a application crash.write script for this.
hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji
What are the properties you would use for identifying a browser & page when using descriptive programming ?
What is a runtime datatable ?
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.