I have to automate webpage. If I click one hyperlink2 it
will take 2 hrs to open. How to automate hyperlink2?
Answers were Sorted based on User's Feedback
Answer / kumar
If we use Wait statement it has to wait 2 hrs.
We can put synchronization point here using QTP.
| Is This Answer Correct ? | 5 Yes | 2 No |
if it is taking that much time...i suggest you not automate
that. if you still wants to automate u can use wait
statement to wait for that much time.
else use loop to wait until that page exist.
for example:
i = 0
do while i <=10
If Browser("XXX").Page("XXXX").Exist Then
Exit Do
Else
Wait 40
End If
i = i+1
Loop
If any queries mail me at :
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / bharat
Hi Nanda,
U r using loop to solve this sync prob.But i don't think
this will solve this prob as loop will not take so much time
to complete.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravi singh
First not to automate but if necessary, use Browser(" ").sync after the line where hyperlink2 is clicked.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is chaild object method? When we will go for chaild object method? How to use chaild object method?
hi friends can any one provide me the project in qtp because i have to attend to interview within one week atleast you provide the website address which provide the qtp projects
HI! I have completed my testing course in 2008. but now am working in banking sector as a data analyst and i want to move to an IT based company but am unable to understand whether i have to complete the testing course again and try for a job .
If object is not recognized by qtp but the object is standard object what is your approach?
In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known
How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.
What is the entry and exit point of automation testing
How u perform Batch Program in QTP?
how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)?
What are the common defects found in your project? (in qtp interview)
how to change the properties of object during run time . plz give the code using flight reservation
Can i run the qtp, without OBJECT REPOSTIRY...