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   To Refer this Site to Your Friends   Click Here
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 ?    1 Yes 0 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 ?    0 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 ?    0 Yes 0 No
Rayudu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.  1
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me  1
What are associated files in QTP?  2
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp  5
What is the main differece between QTP 9.0 and 9.2 VeriSign1
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example  1
WHAT IS OBJECT REPROSITORY? BirlaSoft3
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs  1
what is TOM in qtp? Accenture4
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?  1
How to use library files in QTP? how we can call these files in to script? Wipro3
how i can get the value of label box , please any body tell me script of that code  1
what is purpose of automation?  1
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take? ADP1
What are the difference between QTP and Winrunner  5
WHAT IS ENVIRONMENT VARIABLES? CTS4
in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table  1
Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer IBM1
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP? CTS2
give me the code for check point for validating application  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