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???
Answer Posted / 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 |
Post New Answer View All Answers
Can we use index on view?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
How would you export a script from one pc to another in qtp?
Can we run test with out adding object in object repository? How it is possible?
What is CMMP and CMMH?
Mention what are the different types of recording modes in qtp? Which will be used when?
For which type of projects the iterative model is not suitable?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How do you perform Regreession Testing?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How can you give wait up to 10 seconds in qtp?
How to test background color and dynamic images during run time can you put the check point for moving objects?
Is it possible to switch between recording modes during a test creation?
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.