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
Which function is used to accesses the Properties from
Repository


Pls anybody can give the answer.. Thanks in advance...
 Question Submitted By :: Raju
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Which function is used to accesses the Properties from Repository Pls anybody can give the answer.. Thanks in advance...
Answer
# 1
You can retrieve object property values using GetROProperty 
method at runtime.

E.g: retrieves the textbox value into var_Value variable
var_Value = Browser("test").Page("test").WebEdit
("test1").GetROProperty("value")
 
Is This Answer Correct ?    0 Yes 0 No
Amarendra Kothuru
 
  Re: Which function is used to accesses the Properties from Repository Pls anybody can give the answer.. Thanks in advance...
Answer
# 2
The question is about the properties in the Object Repository.
So we use "GetTOProperty".

If you want the properties of the object in the application,
then we use "GetROProperty".
 
Is This Answer Correct ?    0 Yes 0 No
Uday Kumar _ Anem
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how can we know the program is testing by multiple test data in data driven frame work? CTS1
what is a test strategy & what is the difference between test strategy & test plan?  4
please clarify the question ................. i know how to open the notepad file ? but i don't know how to enter the data into opened notepad ? Ex: set a=createobject("wscript.shell") a.run "Notepad.exe" please give the replay. my mail id is raju.ippali@gmial.com, 9823257761  6
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri  2
In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known iGate4
Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page. Virtusa2
What are the disadvantages of Recovery Scenarios in QTP ?  1
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance... Navis2
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.  1
Tell me Three major differences between QTP & Winrunner?  5
How can we close all webbrowsers which are opened in out desctop?  4
what are the difference ways of parameterising?  1
Explain the check points in QTP?  2
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?  4
Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible. Zensar1
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run) HCL1
How can I generate customized logs in QTP ? Ordain-Solutions1
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:  2
how to capture objects of remote deskop as it is capturing only window. Wipro1
 
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