Using QTP checkpoint, where do you store your expected
Properties of the object which later compares with the
actual properties of the object???
Answer Posted / 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 |
Post New Answer View All Answers
Where we use data driver in qtp?
How u will do versioning in QTP?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
what is meant by Implicit and explicit requirements?
Can the user toggle between using Local OR and shared OR for the same action?
what function you write to do database testing with the help of qtp?
What is checkpoints for qtp?
What is the use of an object spy tool in qtp?
What do you mean by checkpoints in qtp?
Why is action split used by qtp?
how to convert 100 into hundred repees only and viceversa
What is data driver in qtp?
when will you do debug your script? and explain that process?
i can done the project with QTP in that time i can say how many members in my team size?
How are actions and functions different in QTP?