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



how we can take data in the username field text box into variable in web application explain with..

Answer / sreeprasad

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

Post New Answer

More QTP Interview Questions

what is descriptive programming?

5 Answers   Ordain Solutions,


What is QTP and the use of QTP in TD?

0 Answers   MaxSolPro,


Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?

1 Answers  


What is a quick test professional?

0 Answers  


Describe how Smart Identification is used

0 Answers  






what is the main use of reviews

2 Answers   Ordain Solutions,


What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece

1 Answers   HCL,


write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?

3 Answers   IBM,


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?

3 Answers  


Distinguish between manual testing and automation testing

2 Answers   HCL,


What is recovery scenario manager? When you go for recovery scenario manager?

0 Answers  


Categories