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

If the object property is changing very frequently, what was your approach?

2 Answers  


How to add check point?

2 Answers  


What is throw object?

1 Answers  


suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?

4 Answers  


can we call a test in another test? how? explain with one example?

1 Answers   iFocus,






How does u create new test sets in TD?

1 Answers   Crea,


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

0 Answers   Mannar Company, Wipro,


what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?

3 Answers   Aricent, Delhi University, TCS,


Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas

3 Answers   Excel,


Explain the Load testing process?

1 Answers   Crea,


How you can find length of array in qtp?

0 Answers  


Categories