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
how we can take data in the username field text box into 
variable in web application explain with example and give 
all functions to get data into variables
 Question Submitted By :: Srinivas
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Answer
# 1
i can tell you the procedure to get the data of username if 
u can read properly then u might be getting the result.
just declare a variable
x=browser(browser).page(pagename).setROproperty("innertext")
msgbxo x
thats it
 
Is This Answer Correct ?    1 Yes 3 No
Lcsekhar
 
  Re: how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Answer
# 2
Any Application, it may be web or it may be window based 
applications, we use getroproperty() method to get the data 
from the Editbox.Same way if u want to set the data to the 
editbox we use set()method.

for example:
Dim variable name
variable name =  Browser(browser).page
(pagename).GetROproperty("Logical name")

if u want to print in dialogbox use msgbox()function OR
if u want to print in test result use reporter.reporter 
event() function
 
Is This Answer Correct ?    0 Yes 2 No
Hariprasad Reddy
 
 
 
  Re: how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Answer
# 3
We use the GetROProperty method to retrieve the current 
value of a test object property from run time object in 
your application.
 
Is This Answer Correct ?    1 Yes 1 No
Deeps
 
  Re: how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Answer
# 4
We can also use "Output Value" method to get the value into 
a data table.
 
Is This Answer Correct ?    0 Yes 1 No
Deepa
 
  Re: how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Answer
# 5
dont know abt getroproperty but to retrieve data from edit 
box this is the statement ----var=browser("yahoo").page
("yahoo-login").webedit("username").getvisibletext
magbox var
 
Is This Answer Correct ?    1 Yes 1 No
Sreenivas Reddy
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How you automate testscripts one by one or modukewise or all at once Diebold1
what are the mandatory and assistive properties of objects in QTP?What is attached text?Plz assist me with proper answer. MBT5
What is Environment Variable and when we apply this in QTP?  3
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?  3
what is a file system object in QTP  3
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large  2
can we run the scripts of QTP8.2 in QTP7.0?  1
IS standard check point is very important than the other check points in QTP? If so why?  4
what testing activities u may want to automate in a project?  1
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?  4
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y? IBM3
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri  7
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page  1
wt is the xtension of the QTP result view file?  4
How to capture screen shots when an error occurs? EDS4
Hi Friends, Can you please answer these questions of QTP Certification? 1.) What are bitmap checkpoints sensitive to? A. Image size and object type B. Object type and image type C. Screen resolution and object type D. Screen resolution and image size 2.)What are the phases in the QuickTest workflow? A. Plan, Record, Enhance, Run B. Prepare, Record, Verify, Run C. Plan, Create, Verify & Enhance D. Prepare, Create, Verify & Enhance, Integrate 3.) What are the two most commonly used ADO objects? A. Fields B. Execute C. Connection, RecordSet D. Open, ConnectionString 4.)What options are available to filter objects in the Target Object Repository pane when merging object repositories? A. Show all objects or Show only objects with conflicting object types B. Show all objects or Show only objects with conflicting descriptions C. Show only objects with conflicting logical names or Show only objects with conflicting object types D. Show only objects with conflicting logical names or Show only objects with conflicting descriptions 5.)Which of the following is an example of a missing resource? A. An object B. Run Results C. A Regular Action D. An External Action 6.)What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value 7.)In VB Script functions, which one is false among the following a. Variables must be declared before use b. Variables may not be declared before use c. Variables may be declared without data types None  1
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically.. Thatavarti-Technologies3
What is error handled other than recovery scenario manager?  2
How to connect to oracle(sqlserver) database to QTP CTS3
Could you please explain me about QTP framework. Oracle1
 
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