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 do you test siebel application using qtp?

2 Answers  


how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script

1 Answers  


Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.

1 Answers  


how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables

1 Answers  


Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)

2 Answers   Broadridge,






What is meant by Output Value in UFT?

0 Answers  


How does Parameterization and Data-Driving relate to each other in QTP?

2 Answers  


what is standalone database

1 Answers   Wipro,


What is clean sweep?

0 Answers  


what is a active x control?can any one brief me about active x controls

1 Answers  


How to use regular expression in descriptive programming?

0 Answers  


Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya

1 Answers   Apex,


Categories