in qtp how i can retrive from a browser how many links are
there.means total no of links used in a browser
Answer Posted / sandeepguttikonda
To get the count of total number of links in a browser we
need to use "Childobjects".
And we can perform this by using the below code:
/* Creating the description object*/
Set oDescFrame = Description.Create
oDescFrame("micclass").Value = "links"
Set Links_Count = Browser("name:="&Browsername).page
("title:="&Pagetitle).ChildObjects(oDescFrame)
Msgbox &Links_count.count
This will display the total number of links in a page.
Please let me know if you need any further info.
Thanks.
Regards,
Sandeep Guttikonda
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
Explain about the test fusion report of quicktest professional?
What are the advantages of a Hybrid framework?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
can any body give the banking domain concepts/links
what is keyword driven testing in qtp?n how is it useful?
How often were they executed?
What is the difference between call to existing action and copy of an action?
What is difference between shared and local object repository?
For which type of projects the iterative model is not suitable?
Explain the concept of object repository and how quicktest professional recognises objects?
how to acess a test in RSA?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Explain how you can find length of array in qtp?
Explain the new feature of UFT regarding the export of test results?