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
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 |
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 |
Answer / vijay
we can assign it to a variable
expval=true
act val=<obj hierarchy>,getroprperty().
.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
If the object property is changing very frequently, what was your approach?
How to add check point?
What is throw object?
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?
can we call a test in another test? how? explain with one example?
How does u create new test sets in TD?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
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
Explain the Load testing process?
How you can find length of array in qtp?