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
setroproperty and getroproperty difference
 Question Submitted By :: Naruboinac
I also faced this Question!!     Rank Answer Posted By  
 
  Re: setroproperty and getroproperty difference
Answer
# 1
GetRO Property is used for retrieving the property of an 
runtime object 

For Example
To get whether button is enabled or not.
Val = Browser("Browser name").Page("Page name").WebButton
("Login").GetROProperty("disabled")
To get whether a checkbox is on or off.
Val = browser("Browser name").Page("Page name").WebCheckBox
("Test").GetROProperty("Value")

SetRo propert for modifying the property of an object
 
Is This Answer Correct ?    2 Yes 1 No
Noor
 
  Re: setroproperty and getroproperty difference
Answer
# 2
see noor wht u said i.e meaning correct in getroproperty 
but what u written the code is wrong.and setroproperty also 
wrong.


   because there is no(like setroproperty) in QTP

properties in QTP are SetToProprety, GetToProperty, 
GetRoProperty.

Regards,
TESTER
 
Is This Answer Correct ?    2 Yes 0 No
Tester
 
 
 
  Re: setroproperty and getroproperty difference
Answer
# 3
Gettoproperty is used for getting runtime values of an 
application  On the other hand Settoproperty is for Seting 
the runtime test object properties

For Settoproperty:

Suppose there is one screen named "TESTING" and another 
screen named TESTINGPROCESS"
Now by using settopreperty we can do operations 
on "TESTINGPROCESS" screen by using "TESTING" screen.
Here no need of TESTINGPROCESS screen properties in Object 
Repository
 
Is This Answer Correct ?    1 Yes 0 No
Rayudu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri  2
Hi All, I am new to QTP but i was trained on winrunner before. My problem is..QTP 8.2 was unable to record my application which is a java app. By selecting smart identification, i was somehow able to record the test BUT QTP cant run the test! Can anyone help me in walking through this problem..Is java addin really necessary for this?? Is there anyways i can run the test successfully? I am not sure whats going wrong in my testing.Please do help me asap as i need to submit the report early. Thanks in advance  4
How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?  1
New to QTP: In a qtp flight booking application, I tried to parameterize the to and from drop down lists using data table, depending on ur drop down selection it will pop up a list of flights. Here I am not finding a way to select flight randomly from given list... Thanks in advance guys.  1
Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?  1
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next  1
Explain synchronization types in QTP  2
what is the difference between invoke application and system.util.run Syntel18
Hi any body can tell me the in detaled information about Description.Create() thanks in advance  2
Hi Friends ,I want to Know name of the Site for the QTP Help and the Best Book through that I can start the QTP Practice here also whare can I download the QTP Users Guide I search I was Unable .  2
HOW TO DO THE BATCH TESTING USING QTP? Ordain-Solutions2
Can we do Load Teting with QTP?  10
Is there any option in QTP to add Java add-in after instaling the QTP? IBM2
How to import excel sheet to QC?  1
explain keyword driven framework? Mindlance2
How can we perfom Action and Component parameter.? EDS1
Difference between image checkpoint and bitmap checkpoint  2
What type of VB script u had done in expert view?  1
in how many ways you perform batchtesting? Sapient2
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB IGT2
 
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