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   SiteMap shows list of All Categories in this site.
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
Could some one help me the difference between GetTOProperty
and SetTOProperty and when we will use these properties. and
what is meant by SetToProperties..
 Question Submitted By :: Sudeepthz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
Answer
# 1
In the application some values get changed in run-time, if 
you want to get those values  we will use GetToProperty.
  And at the same time if we want to set the propertiy of 
any object we will use this SetToProperty
 
Is This Answer Correct ?    0 Yes 1 No
Jyothirmai
 
  Re: Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
Answer
# 2
Thanks Jyotirmai. and i have one more question that when we
will use this get visible Text property??
 
Is This Answer Correct ?    0 Yes 0 No
Sudeepthz
 
 
 
  Re: Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
Answer
# 3
I hope Jyothirmai's answer is not right....

Actually GETTOProperty stands for "Get Test Object 
Property".

All the objects which are identified & stored in Object 
repository by QTP during design time are "Test Objects"

In order to retrieve the above test object's properties --- 
we will use GETTOProperty method.

seTOProperty Stands for "Set Test Object Property".
For the above test object, if we want to change the 
property values during run time(Only)...then we will use 
this "setTOProperty"
 
Is This Answer Correct ?    1 Yes 0 No
Sreekanth Chilam
 
  Re: Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
Answer
# 4
TO - means text objective properties.

1). GetToProperty --
i will one example one "OK" button is there that button 
contain some some properties i.e., 24 properties but some 
of mandatory properties are stored in to the OR. (Like 
native class, button)

If u wants to know any property of that "OK" button u can 
get this GetTOProperty method.

2). SetToProperties--
for example the "OK" button 2 mandatory properties are 
stored in OR. if u want to add one more property at Run 
Time that is temporarily. you can set the property using 
SetToProperties method.

i hope this is Right answer....
if this is wrong plz let me know...
plz mail me gi_raju@hotmail.com
 
Is This Answer Correct ?    0 Yes 0 No
King
 
  Re: Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..
Answer
# 5
GET TO property is used to get the TEXT OBJECT Property 
value of an object at the time of execution.
SET TO property is used to change the property valu of an 
object at the time of execution.
 
Is This Answer Correct ?    0 Yes 0 No
Raghu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain the concept of object repository & how QTP recognises objects?  1
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.  2
how to get column count in datatable  2
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
Could any one suggest web site links to learning VB Script for QTP purpose??  2
what are recovery management techiniques?  1
What expansion of "MIC" in MICPASS (TEST ReportPAGE) TCS4
How to call a function in QTP?Is there any method ? Thanks , PRASANNA  2
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.  2
How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it TCS1
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?  4
how do check the links in a webpage ? Accenture4
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.  3
How to Test the mainframe application?(tell me few basic things) Covansys1
Does QTP provides any tools for parametarization? BirlaSoft2
How we can call the scripit from another scripit in QTP?,Not a call Action  6
in order to start automation testing what we should require (entry level to automation testing)  2
what properties do use to identify a browser and page while using descriptive programming? TCS3
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?  1
How can we perfom Action and Component parameter.? EDS1
 
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