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 |
Difference between keyword driven test and DDT?
how we can do web browser using parametarisation in QTP ?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??
Your roles and responsibilities and daily tasks? (As automation tester)
What are the major/ important methods, functions in QTP we use realtime testing
Hi, How to export the Checkpoints and Output values(Test area output values) from Object Repository to Excel
How can we check whether a particular sheet loaded (existed) or not in Data Table.
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??
2 Answers DST Global Solutions,
In qtp is it possible to check broken links of a page?
How we know the qtp has used the smart identification process for identification of the object.