How can we retrieve the links from a web page where links
are dynamically changing(for eg take a online shopping
website) and then we have to click on all the links present
in the webpage and go to the repective pages and again come
back to the first page..

Answers were Sorted based on User's Feedback



How can we retrieve the links from a web page where links are dynamically changing(for eg take a o..

Answer / vikas pokharkar

When the links are dynamically changing , you can not use
the name of the link to recognize the object since its
changing frequently . Instead use the properties of link
object which are constant . For.e.g. href
So if you are using object repository - Go to OR,select the
link object,click on "Add/Remove" . Uncheck the "name"
property. Check the "href" property . Save the changes . So
the object will be recognized by its href rather than
name .

Is This Answer Correct ?    2 Yes 0 No

How can we retrieve the links from a web page where links are dynamically changing(for eg take a o..

Answer / mangesh

USE DESCRIPYION PROGRAMMING IN QTP

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

0 Answers  


Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance

5 Answers   Cegonsoft,


Have you worked with QC?

1 Answers   Satyam,


what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

0 Answers  






Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?

1 Answers  


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,


How to modify object property in qtp ?

0 Answers  


I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE

3 Answers   HCL,


What are the features supported by UFT?

0 Answers  


What is diff. between ordinal identifier INDEX and Location?

3 Answers  


What ate the Technologies supported by QTP?

0 Answers  


Categories