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 |
Can you tell me any books or websites to learn VB Script for QTP ??
how u will describe testing activities?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Among the 3 Recoring modes,Standard, Analog and Low Level. which one is mostly used. I know that Analog id used for Graphs, Digital Signatures and Barcoding. so, which one among the 2?
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.
What criteria do you use when determining when to automate a test or leave it manual?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Give me some real time point of way where exactly we can conduct audits?
does the vb script knowledge is mandatery in testing using QTP
What is the difference between Call to Action and Copy Action?
in which situation u will use recording and in which situation u will used to write script manually