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

Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1759


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1310


what is the frame work in J-meter?

1598


What is the difference between run time object and test object?

571


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1371






what is meant by source control?

1689


what are the utilities and drivers

1838


How did you resolve conflicts present in Object Repository?

1611


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1933


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1428


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1490


Which features or drawbacks of QTP lead to the upgrade for a newer version?

569


Explain different types of checkpoints?

556


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1520


How do I get the QTP scripts result in xml format by using vb script function?

1780