Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1915


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

1871


Explain different types of action in qtp?

1030


Hello friends..... On which areas of an application we can not test with QTP

2030


can any body give the banking domain concepts/links

4018


is it possible to add sheets to excel at runtime

3945


Tell me one scenario, the complex functionality you have automated in your project?

1927


What is ‘object spy’ and what is the function of object spy in qtp?

1018


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

1825


There is an excel file of 1 to 100 sheets how you will iterate through it?

936


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)))

2069


What is the default add-ins in qtp?

918


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

975


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1855


What is Test Fusion Report in QTP?

1097