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



I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate ..

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

I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate ..

Answer / nanda

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

I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate ..

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

I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate ..

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

Post New Answer

More QTP Interview Questions

How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

0 Answers   Livetek,


I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.

0 Answers   UHG,


Define Environment Variable in UFT and its uses?

0 Answers  


What is Test Fusion Report in QTP?

0 Answers  


what type of scripts are asked in qtp?

2 Answers  






Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...

1 Answers  


wht is Driver in Integration testing. Anubody can answers it

7 Answers   CTS,


How can i use Output Check points in QTP

2 Answers  


how do u import the test cases written in excel sheet to qtp? and how do u generate the script in qtp for the testcase in excel sheet? plzzzz do answer this question thanks in advance

4 Answers  


if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,


How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..

4 Answers   IBM,


How to capture the text from the application using QTP?

3 Answers  


Categories