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
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 |
hi all i have qtp 9.0, Active screen is not working means after recording script snap shots not displayed in Active screen window. i have all ready check all setting means Tool...>option...>Active screen...>Default Level button is disabled. Is there other setting is remain to set Pls help i m new for qtp
hi Action 1 and action2 if we save it in C:, what folders will be created explain plz
How will you handle the situation when object is not captured during record?
Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil
how to identify the user defind varibles? plz tell me
What is difference between Quality centre and Test Director?
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
If QTP not recognizing using repository while executing, how can we go forward
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?