Write a QTP script to print all the link names displayed in
a web page

Answer Posted / mani

go to any web page click on any link..store it in OR
manager...Then according to the browser name and page name
write the script
Example:


Browser("name").Page("name").weblink
("destination").GetROproperty("number of links")

Is This Answer Correct ?    11 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of checkpoints?

562


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1903


What is the syntax for how to call one script from another?

563


images are dynamically changes how to compare two images with out using the bitmap

2007


What are the two types of repositories available, explain them?

594






what testplan contents and what test strategy contents,what is the diff b/w them

1651


How to recognise the webelement and verifying that webelement is enabled?

1645


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1673


Explain the differences between table and db checkpoints?

583


How you debug your script?

569


How to execute a winrunner script in quicktest professional?

555


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1429


How can i check items sorted or not in a weblist ? Give me the script for this...

1578


What is meant by Output Value in UFT?

567


How does quicktest professional identifies the object in the application?

555