ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
what are SetToProperty, SetROProperty,GetToproperty 
scripting?
 Question Submitted By :: Padmasekharpediredla
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what are SetToProperty, SetROProperty,GetToproperty scripting?
Answer
# 1
There is a Object Repository in QTP for every test we 
created, Every Object Repository has Test Objects for QTP 
to recognize Objects we recorded in test.

every test object has properties 
like "width","title","text"....... and Objects also have 
Run time Properties when test is running.

The Get/SetToProperty means we can Get/set the Test 
Objects' Property in Object Repository.

The SetRoProperty means we can set Object's Runtime Property
 
Is This Answer Correct ?    1 Yes 0 No
Vince.shu
 
  Re: what are SetToProperty, SetROProperty,GetToproperty scripting?
Answer
# 2
SetTOProperty – Basically is used to modify the properties 
of current Test Object during run session without 
permanently modifying the Properties. In short the changed 
Properties would be applicable for the present run Session 
alone. 

            Object.SetTOProperty Property, Value

 

GetTOProperty – A GetTOProperty method is used to retrieve 
the value of a Test Object Property. Basically during a Run 
Session, incase we need to find out the Property value for 
any TestObject we use this method. It does not consider the 
properties of the Object as displayed in the Application at 
runtime.

            VariableName = Browser(“”).Page(“”).WebEdit
(“”).GetTOProperty (“Name”)

 

A GetROProperty method is used to retrieve the Runtime 
properties of an Object as displayed in an application. We 
can retrieve the Current value of a Property for 
TestObject. It is used to retrieve only Runtime properties.

 

A Set Property can be used to set a value to any variable 
or set the Property value of any Object.
 
Is This Answer Correct ?    3 Yes 0 No
Rekha
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position part2:maore than the answer for this question i want the the reason why testers go for this kind of risk.what is the use of we testers having these kind of attempts.is that not the problem with the developer .pls answer .real time users of tools.in which way these solutions help to test with r without affecting the developed souce code.  3
What is keyword driven testing..what is the use of this in Automated testing IBM2
How will u find that how many List boxes( and check boxes) are present in one particular window  8
can objects recogonised without repository? AZTEC8
suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately?  2
Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------  6
How can you delete the results file (XML)  2
What is the function of Filter in QC . give with a real time example. TCS1
Which scripting language QTP is using?  6
what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".  2
what are the difference between qtp8.2 to 9.0 surya Bally-Technologies1
How u perform Batch Program in QTP?  1
How does Parameterization and Data-Driving relate to each other in QTP?  2
What is the use of virtual objects?  1
How to Test the mainframe application?(tell me few basic things)  3
Difference between image checkpoint and bitmap checkpoint  2
Hello Everybody, Please tell me can we create Test Plan in QTP? This I am asking irrespective to integrating with Test Director.I mean is there any option to create Test Plan in QTP itself. Thanks, Gaytri  4
In QTP whether is it possible to call a function from one action to another action?  1
any challange that faced in your project? (please give me some examples in your project?  1
Associated files in QTP?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com