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

how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1318


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1458


what is meant by Implicit and explicit requirements?

3617


How can you pass value one action to another action?

553


How will you handle java tree in qtp?

621






Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

1523


What is different command used in command Prompt while using QTP?

1744


Which functionalities of QTP used in banking project? pls any say answer?

1436


What is qtpro? What is quick test pro?

555


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

1521


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

527


In qtp, how you can remove the spaces from string?

546


Explain the concept of object repository and how quicktest professional recognises objects?

556


How will you test a stapler?

592