what to do if application have 3 "ok" button with same
logical name and same properties, how qtp can identify them.
Answer Posted / khemlal sinha
there r many ways
1. use index property (0,1,2) now surely it will recognize
2. another way is spy on each button check which propery
uniq for each object then use only that propery while
recording . it will recognize sure.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
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
Explain different types of action in qtp?
Hello friends..... On which areas of an application we can not test with QTP
can any body give the banking domain concepts/links
is it possible to add sheets to excel at runtime
Tell me one scenario, the complex functionality you have automated in your project?
What is ‘object spy’ and what is the function of object spy in qtp?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
There is an excel file of 1 to 100 sheets how you will iterate through it?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
What is the default add-ins in qtp?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
What is Test Fusion Report in QTP?