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 Posted / hariprasad reddy

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 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1922


What are the types of object repository in qtp?

792


How the exception handling can be done using quicktest professional (qtp)?

776


What is keyword driven framework?

865


what is impact analysis on regression testing?

2258


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2973


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1830


What is test object model in quicktest professional (qtp)?

773


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1762


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1747


what are the utilities and drivers

2063


What is quick test pro? What is a quick test professional?

796


How do you configure QTP AND Test director?

1709


What are the different types of recovery operation?

774


We stored into the objects OR and then write the scripting

1778