In web page there is five OK buttons available, while
recording i click on 3rd OK button, How QTP identify the 3rd
OK button while running script? Is qtp identify 3rd ok button?

Answer Posted / raj

QTP add the OK button in OR and set its Property as

Descrion Property:
text = OK

Ordinal Identifier:

index = 2



QTP only uses Ordinal property i.e like Inedex property only
when all the description properties are same.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a script to customize the test results in PDF and HTML format.

2082


is there any addin for remedy user application

1742


how do i know how to use tools

1444


How does quicktest professional identifies the object in the application?

550


What is the default object synchronization timeout in qtp?

639






what is the hierarchy to use properties in descriptive programming

1496


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1618


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

618


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1597


Explain the terms test and business component?

545


What is clean sweep?

1374


Is it possible to call win runner script in qtp?

623


Is it possible to merge two object repository files in qtp?

614


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2150


Explain object spy in qtp.

583