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 the use of text output value in quicktest professional (qtp)?
Can any suggest me what is exposure testing?
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?
How many lines of code in each script of QTP?
What is the difference between local and shared object repository in qtp?
How does you test a weblink which is changing dynamically?
what is description object?
Where we can use the synchronization?
Are Shared ORs read-only?
How to explain a banking project in interview as a test engineer???
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
How many types of recording modes are there?
How to use checkpoints in qtp ?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
what kind of frame work you used in your last project?