What is action required by QTP if a popup message is coming
in exsisting script and now it is not coming.
The script is having code to deal with popup message now
when we run the script now the popup i snot coming
according to new build, instead of changing the code what
we can do?

Answer Posted / kumar

Hi,

consider we have 10 steps in this script.

we are expecting a popup after the 5 th step
the use the IF condition as (Answer1).like..

step 1
step 2
step 3
step 4
step 5

If popup.exists then

<statements to read the message ....>
Else
<send the error message to the report that popup is
not displayed and fail the test and exit from the test>

End If

step 6
step 7
.
.
.
.
.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1972


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1846


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4033


How do you create regression test packs?

849


What is reusable action?

785


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1953


What do you mean by checkpoints in qtp?

765


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

746


what is stepin & stepout?

1606


images are dynamically changes how to compare two images with out using the bitmap

2179


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2066


Explain QTP using different development techniques ?

708


How to create a standard checkpoint ?

741


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2009


How to remove associated function library?

750