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?
Answers were Sorted based on User's Feedback
Answer / rentalavdml
Hi kishore,
We have one more option for this instead of recovery
scenario u can try with Window("tilte:= ").Exists then
click
In this case if the window exists it clicks on OK if not
script passes .
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
Answer / rk
What Ranga said is right...
we can use OptionalStep.Window("').Dialog("").WinButton("OK").Click
what this will do is..if that pop up exists then it will click OK else it will skip that step.
It will wait for default time as we specify in ObjectSyncTime in settings.
If any one needs more info..then contact me @krish.ram20@yahoo.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rentalavdml
Hi Kishore,
one more thing instead of changing the code( if recovery
already exists) you can remove the recovery scenario if it
exists .
| Is This Answer Correct ? | 1 Yes | 0 No |
what is compiled module?
What information do the columns in the Keyword View show for each step?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
what is L-trim function will do?
how to find that tools work well with your existing system?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Does QTP support flat files? If yes what are those?
w is datatable
how to disable the pop ups through QTP using a script
what are all the fileds present in object repository?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
.mtr ( modular test repository or mercury test repository) plz give correct answer??