Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How you debug your script?

1108


How to export quicktest professional (qtp) results to an .xls file?

1268


What are the different attribute used with regular expression?

1020


in a web page How to check and display a particular word from a paragraph?

2538


why you have standardized functions? plzzz guys with real time exp. do answer

1899


If you are testing a web application then what will you test in that application?

2084


How do we analyze the checkpoint results?

1079


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?

2105


Can we write winrunner language i.e TSL in QTP tool?

2035


What is active screen?

1023


What is quicktest professional?

1097


assume i have few url link how will i dynamically call then using descriptive programming?

2070


Is it possible to use two instances of UFT on the same machine? If not why?

1171


Hello friends..... On which areas of an application we can not test with QTP

2126


What is the parameterization?

1101