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

i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets

2 Answers  


how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...

1 Answers  


Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?

2 Answers   BirlaSoft,


How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..

2 Answers  


what is Supplemental Objects ?

0 Answers  






1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

0 Answers   HP,


What are the main attributes of test automation?

3 Answers  


How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?

1 Answers  


i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)

3 Answers  


when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?

1 Answers   Symantic Space,


WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........

11 Answers   Ness Technologies,


what is error and fault in terms of software quality?

0 Answers   TCS,


Categories