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

Define Canvas view of UFT?

620


Can the user toggle between using Local OR and shared OR for the same action?

564


How many ways is to parameterize the value?

619


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

1462


How to integrate the qualitycenter with qtp

1773






What are the recording modes in qtp?

583


How do know the number of browsers opened?

627


Explain sub procedure of vbscript.

590


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1761


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1526


How to get Traceability matrix from TD?

678


images are dynamically changes how to compare two images with out using the bitmap

2007


How do you test DLL files using automation Tool QTP?

2737


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1447


What is output value? How many types of output values are there in qtp?

580