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



Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

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

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

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

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

Answer / vijay

we can assign it to a variable
expval=true
act val=<obj hierarchy>,getroprperty().






.

Is This Answer Correct ?    0 Yes 0 No

Using QTP checkpoint, where do you store your expected Properties of the object which later compar..

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

Post New Answer

More QTP Interview Questions

WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

9 Answers   CTS,


hi nani my doubt is how does qtp process metrix related to software process.

0 Answers  


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.

2 Answers  


what is the difference between call to copy action and call to an existing action

5 Answers  


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)

0 Answers   Kanbay,






what is On Error Resume Next ?

1 Answers   Accenture,


What type of framework you are using in your company and explain it?

4 Answers   CTS,


Explain in brief about the QTP Automation Object Model.

0 Answers   Crea,


what are the limitations of automation testing?

2 Answers   TCS,


Give a comment on Regular Expressions using QTP?

4 Answers  


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

1 Answers   Infosys,


give one example where you have used regular expression?

6 Answers   Ordain Solutions,


Categories