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 |
what is aregular expression?
how qtp will recognise if application is run on many browsers
what is the difference between Reusable action and external action?
what is TOM in qtp?
Does quicktest professional is unicode compatible?
I know the Basic QTP. But I wanted to learn descriptive programming in QTP. Without Object Repository how we can develop a script? I wanted to do one real time project using QTP. If you know this type of training is available in pune then let me know the address.
can any one tell me how to select some text.i need the script for that
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
what is the difference between wait and wait function
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
How to modify object property in qtp ?
What are private functions in QTP? How they can be called from the function library?