Using QTP checkpoint, where do you store your expected
Properties of the object which later compares with the
actual properties of the object???

Answers were Sorted based on User's Feedback



Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

Answer / shruthi

Hi ,

Store your expected property of the object in any variable
or still can parameterise it, and again using any
Environment object you can store the actual property of the
object and compare.

Is This Answer Correct ?    3 Yes 1 No

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

Answer / firoz shaik

Hi I am Firoz.
Think that, you have to verify the value of a text box,
Dim act, exp
exp = "Firoz"
' for ex, the expected value of the text value is Firoz
then store Firoz in a variable.
act = Browser("Browser").Page("Page").GetROProperty("value")

If Strcomp(Exp, Act, 1) = 0
Msgbox "The expected value"&exp"is same as Actual Value"&Act
else
Msgbox "The expected value"&exp"is not same as Actual
Value"&Act
End If

Is This Answer Correct ?    2 Yes 0 No

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

Answer / vijay

we can assign it to a variable
expval=true
act val=<obj hierarchy>,getroprperty().






.

Is This Answer Correct ?    0 Yes 0 No

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

Answer / prasad

Dear Shruti,

Pls give an example
How can we create a variable?
which format it should be?
what is its extention??

Pls give an example for an web button.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

how will u choose a tool for test automation ?

1 Answers  


What are the recording modes and executing modes avialble in QTP?

3 Answers   Polaris,


how to merge object repositories?

4 Answers  


Why bpt?

0 Answers  


we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position part2:maore than the answer for this question i want the the reason why testers go for this kind of risk.what is the use of we testers having these kind of attempts.is that not the problem with the developer .pls answer .real time users of tools.in which way these solutions help to test with r without affecting the developed souce code.

3 Answers  






What is reusable action?

0 Answers  


What is API?

1 Answers  


By default Action1 runs first in QTP. Is it possible to start the run with Action2?

9 Answers   Virtusa,


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


write a qtp script to enter user name & password for flight reservation login page from excel sheet

1 Answers  


give me the code for check point for validating application

1 Answers  


When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

2 Answers  


Categories