QTP -object reposistory spy tool is not able to spy the pop
up message appearing in the application, so how is that i
can handle such run time pop ups in QTP by code???
Answers were Sorted based on User's Feedback
Answer / pratap bandagi
use Sendkeys method to Click on the button highlited.
for Example if there are two buttons on the popup use Sendkeys method to click on the default button like {"ENTER"} or {"TAB"} or {"ALT+F4"} so that u can close the popup or perform any operation on the popup.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / amruta
using shell object
a=10
b=20
set objshell=createobject("wscript")
If b=10+a Then
objshell.popup"b is equal to a"
else
objshell.popup"b is not equal to a"
| Is This Answer Correct ? | 0 Yes | 9 No |
What is the difference between Image Checkpoint and Bitmap Checkpoint?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Under what conditions would you recommend QTP for future projects?
With help of object repository,we can able to write the descriptive program manually?
1.what is test automation life cycle?
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.
What are the option you can use to synchronize your test?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
How to connect the real time application application with the QTP?