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 |
Without using gui map editor we can recognize the application in winrunner ?
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words
What is object identification?
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
When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason
Among the 4 capture levels, Complete, Partial, Minimal, None. which one is mostly used?
can QTP works on LINUX platfom
what is regular expression how will you implement it?
Do you support automated testing? Why?
Can we record a video in qtp recording??
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .