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   interview questions urls   External Links  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
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 ?    0 Yes 0 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 0 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 ?    0 Yes 0 No
Firoz Basha Shaik
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain types of exception handling and script for that?  1
Hi all, what is the latest version of QTP? CTS3
My project title is "DRUG Audition and research management" it comes which domain?  3
In how many ways we can add check points to an application using QTP.  3
where we save the scripts created in one project? IBM4
how to identify the user defind varibles? plz tell me  1
hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.  2
While recording a login window QTP is identifying only parent window,then how can u identify the child objects. Symphony2
what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester? Wipro2
How do you learn the object in QTP?  1
If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance... Navis2
Does QTP is "Unicode" compatible?  2
Whenever we use GETROPROPERTY function. NIIT6
Explain key word driven frame work?How to use in real time? HP2
what r the 3 basic factor on which we determine to perform automation AppLabs4
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
Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results. Cap-Gemini1
How can you merge two Object Repositories?  2
How to capture screen shots when an error occurs? EDS4
How to change the scripts from Per-Action object repository to shared object repository  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com