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
What is keyword driven framework?
They asked by using qtp recording writing scripting
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
What contains Data Driven Framework document in qtp?
what is stepin & stepout?
What is the script for database check point, bitmapchek point, regular expression ?
How do you convert manual test cases to automated test cases?
What is the parameterization?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
What is qtp window?
Why do we use breakpoints in QTP?
Why script error occur in between recording in qtp?
How will you handle java tree in qtp?
how can i call function (which has link with excell sheet at a remote location) within another function
Discuss quicktest professional (qtp) environment?