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 THE USE OF "FUNCTION GENERATOR" IN QTP?
hi nani my doubt is how does qtp process metrix related to software process.
When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
what is the difference between call to copy action and call to an existing action
key word driven frame work is like a folder structure Question is that where is the folder like funtion library folder,object repository,data base,application scenerio folder etc are store whether in a remote machine where we have to access or in our machine (it just like VSS)
what is On Error Resume Next ?
What type of framework you are using in your company and explain it?
Explain in brief about the QTP Automation Object Model.
what are the limitations of automation testing?
Give a comment on Regular Expressions using QTP?
Ex : some mail name with surname Email id's there that is string fetch the particular surname only how to get particular surname all emails
give one example where you have used regular expression?