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
How to create a run time propertyfor an object?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to create a run time propertyfor an object?
Answer
# 1
'The following example uses the SetTOProperty method to set 
the 

'html id of the WebFile object. 

 

Browser("Fill-Out-Form").Page("Fill-Out-Form").WebFile
("name-of-files").SetTOProperty "html id", 4
 
Is This Answer Correct ?    1 Yes 1 No
Kiran1783
 
  Re: How to create a run time propertyfor an object?
Answer
# 2
Sorry kiran...
we can not set a property to an object in run time .
You can use GetROProperty(”outerText”) to get the outerText
of a object but there is no function like SetROProperty
tochange this property. But you can use
WebElement().object.outerText=”Something” to change the
property.
 
Is This Answer Correct ?    0 Yes 2 No
Ravi
 
 
 
  Re: How to create a run time propertyfor an object?
Answer
# 3
for ex, suppose that we want to know what is the data in 
the text box while the application is running?

FName = Browser("Browser").Page("Page").Webedit
("FirstName").GetROProperty("text")
msgbox FName

the runtime text which is present in FirstName field will 
be stored in FName variable and can be seen using msgbox.
 
Is This Answer Correct ?    3 Yes 0 No
Firoz Basha Shaik
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
When The Low Level Recording is Used in QTP  14
HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview. CTS4
Hi, I have 50 test cases for automation, Based on which criteria we can decide for these test cases we have to use Descriptive programming and remaining for general coding? Thanks In Advance..Kavitha  2
How do u write a regular expression for date (dd/mm/yyyy) field ? Semantic-Space3
How to retrieve the property of an object in QTP?  4
Can you tell me QTP is support for GIS(Geography Information System) Based Software.  1
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP? IBM7
Java add-in is need to work on java oriented project ?  3
What is the Diff between Image check-point and Bit map Check point?  2
Does UNIX support QTP? If not what is the other tool used for Unix environment? AMDOC2
.qfl extension for which file? where vl use it iFlex3
can a Function return more than one value..??? if so please give me the code for that. DST-Global-Solutions2
Difference between image checkpoint and bitmap checkpoint  2
Can any one tell the different properties and values of differnt objects like Browser,Page,link,webedit,webcombobox,webradio botton,webcheckbox and web button.Because I am facing a lot of problems in interviews with Descriptive Programing.I never worked on web Application...Pls help any one as soon as possible....  2
What the differences are and best practical application of each.  1
How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario. Arsin-Systems2
I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.  1
how to capture objects of remote deskop as it is capturing only window. Wipro1
What is the use of Regular expression?  4
Describe the process for writing text check point for a web application? ssinformatics2
 
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