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 / girishkumar
example:
Dim variable name
variable name = Browser(browser).page
(pagename).webEdit(usernaem).GetROproperty(text)
in the above example, "text" is the object property which contain the data of the username field. this property will change based on the the type of class of object you selected. if you use object spy, you can get more object information in that you can select which object suitable to meet your requirement.
Ex: if you want to get data from list box, at that time you may use "items count" instead of "text".
EX:variable name = Browser(browser).page
(pagename).webList(Fly from).GetROproperty(items count)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
how to download mercury qtp9.2 ny internet ?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Explain actions in qtp ?
Why script error occur in between recording in qtp?
banking domain description for software tester for interview
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
what is Property......End Property loop? how to write sript for it in QTP
Which scripting language used by quicktest professional?
Which functionalities of QTP used in banking project? pls any say answer?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
What is the recovery scenario in qtp?
Suppose I want fail that check point? How can you do that?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?