ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Testing >> Automation Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions (496)
 Load Runner interview questions  Load Runner Interview Questions (488)
 QTP interview questions  QTP Interview Questions (3507)
 Test Director interview questions  Test Director Interview Questions (161)
 Rational TestSuite interview questions  Rational TestSuite Interview Questions (106)
 Silk Test interview questions  Silk Test Interview Questions (59)
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions (387)
Question
what are SetToProperty, SetROProperty,GetToproperty 
scripting?
 Question Submitted By :: QTP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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 ?    9 Yes 2 No
Rekha
 
Answer
# 2
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 ?    3 Yes 0 No
Vince.shu
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people GE 3
how to write this script using descriptive programming? the script below is the script generated by QTP plz write the script using descriptive programming? plzzzzzzzz do answer thanku Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit("Email").Set "test123" Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit ("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4" Browser("Welcome: Mercury Tours").Page("orkut - login").WebButton("Sign in").Click Browser("Welcome: Mercury Tours").Page("orkut - home").Link ("Logout").Click Browser("Welcome: Mercury Tours").Page("orkut - login").Sync Browser("Welcome: Mercury Tours").Close   3
Tell me few important difference Between QTP and WinRunner? TCS 9
What is the real use of different actions in QTP   1
Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that? Livetek 4
how to identify an object which is not in the object repository identification can be done using descriptive programming.   2
How u send bugs to dev'lpment team all at once or one by one or waht is the process? kenexa 2
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example. Wipro 2
Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks   2
what is the difference between DP and keyword driven framework?   1
with out using import sheet came is it possible to get the excel sheet ? Ordain-Solutions 2
describe some problem that u had with automation testing tool?   3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com