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

Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip

1 Answers  


How to give a call to another action from one action?

0 Answers  


What is the concept of firewalls?

2 Answers   CTS,


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


Hi friends I am new in Qtp. now i am Searching on Qtp give real time inter questions with answers.pls help me

1 Answers  






What does VBS file contain...??? what is VBS file.. ???

6 Answers   GE,


Where can I find and view run-time data table?

0 Answers  


How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com

1 Answers  


How can we conduct U-I Testing by using QTP??????

0 Answers  


My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.

2 Answers  


what type automation is fofollowed in the project?

1 Answers   Satyam,


Categories