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
 


 

Company >> Clinical Soft >> Clinical Soft Questions
 
 Clinical Soft interview questions  Clinical-Soft Interview Questions (3)
 
Back to Questions Page
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.. Rank Answer Posted By  
 Interview Question Submitted By :: Sudeepthz
I also faced this Question!!   © ALL Interview .com
Answer
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
 
0 Jyothirmai
 
 
Answer
Thanks Jyotirmai. and i have one more question that when we
will use this get visible Text property??
 
0 Sudeepthz
 
 
Answer
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"
 
0 Sreekanth Chilam
 
 
 
Answer
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
 
0 King
 
 
Answer
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.
 
0 Raghu
 
 
Question   Could some one explain me how to create folder on the desktop from QTP?? This is an interview question Rank Answer Posted By  
 Interview Question Submitted By :: Sudeepthz
I also faced this Question!!   © ALL Interview .com
Answer
set a=createobject("scripting.filesystemobject")
set b=a.createfolder(Path of the folder)

i think this is working properly
if u have any quarries plz mail me
raju.ippali@gmail.com
 
0 King
 
 
 
Back to Questions Page
 
 
 
 
 
   
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