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

what is difference between application testing and product testing?

5 Answers   IBM,


how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??

2 Answers   Siemens,


how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?

4 Answers   CTS,


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

0 Answers   Cap Gemini,


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

0 Answers  






Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  


what is the test object?

1 Answers  


can any one please tell me QTP 9.2 supports which version of IE and Mozilla firefox.

1 Answers  


Why we load add-ins in qtp?

0 Answers  


Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc.,

3 Answers   ADP,


What does SPLIT and JOIN commands do in Vbscript?

6 Answers   Ordain Solutions, UBC,


1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?

3 Answers   ANZ,


Categories