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..

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

assume i have few url link how will i dynamically call then using descriptive programming?

1593


What are the various types of Actions in UFT?

585


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1386


How many ways we can parameterize data in quicktest professional?

553


What are advantages of test automation?

657






Hybrid framework supports Descriptive programming. Is it true?

643


Suppose I want fail that check point? How can you do that?

596


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1542


Explain the use of action split in qtp?

555


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1914


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1456


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2248


What is difference between shared and local object repository?

584


What is the extension of the recovery scenario file in qtp?

533


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1466