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 |
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
I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.
Define Environment Variable in UFT and its uses?
What is Test Fusion Report in QTP?
what type of scripts are asked in qtp?
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...
wht is Driver in Integration testing. Anubody can answers it
How can i use Output Check points in QTP
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
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
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..
How to capture the text from the application using QTP?