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
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
When to use descriptive programming?
What are the flaws in water fall model and how to overcome it?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
what is review
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
Why is Client side image is preferred over server side image?
Explain sub procedure of vbscript.
hou can we use vb script in qtp could u tell me breafly
Write a QTP script to enter a keyword in to Google search engine?
Explain different types of action in qtp?
How do you capture tooltip using QTP?