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?

Answers were Sorted based on User's Feedback



In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP ..

Answer / mahendar

While recording the tool will captur all the properties and values... And it stores in the local object repository based on what are the settings made by you initially.... So that tool will identity the object when u play back

Is This Answer Correct ?    0 Yes 0 No

In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP ..

Answer / qtphelper

If its record and play back definetely it should work using
smart identification mechanism in QTP. If its not recording
and you are adding objects to the OR and while writing DP
then we should go for ordinal idenitifier.

Is This Answer Correct ?    1 Yes 2 No

In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP ..

Answer / steveaustin

its is similiar to ARRAY ..cmd button property.. like if
we have more no of character represented as
a[0]='x',a[1]='y'...........a[n]=''..
as like this qtp create's a unique values for the cmd button
like
cmd1,cmd2.. according to the userdefined names to the cmd
button for their corresponding action to be executed at the
time of their function call

Is This Answer Correct ?    0 Yes 1 No

In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP ..

Answer / sandeep.yerraguntla

In QTP object properties can b recognised using object spyq
in that object spy window select identify properties radio
button it will show all the child properties of the
particular selected object.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

4 Answers   BirlaSoft,


what is the diffrence bw qtp architectute and qtp framework?

0 Answers  


What is DOM

2 Answers  


Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  






what are inputs for automation?

3 Answers  


Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..

4 Answers   Thatavarti Technologies,


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

0 Answers   IBM,


Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.

10 Answers   Apex,


Is it possible to return multiple values from a function..? Then how..?

3 Answers  


will QTP accepts javascript?

14 Answers   AppLabs,


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

0 Answers  


Categories