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
How you debug your script?
How to export quicktest professional (qtp) results to an .xls file?
What are the different attribute used with regular expression?
in a web page How to check and display a particular word from a paragraph?
why you have standardized functions? plzzz guys with real time exp. do answer
If you are testing a web application then what will you test in that application?
How do we analyze the checkpoint results?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
Can we write winrunner language i.e TSL in QTP tool?
What is active screen?
What is quicktest professional?
assume i have few url link how will i dynamically call then using descriptive programming?
Is it possible to use two instances of UFT on the same machine? If not why?
Hello friends..... On which areas of an application we can not test with QTP
What is the parameterization?