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 many types of parameters are there?

940


What are the advantages of Object Repository?

1027


How many types of recording facility are available in quicktest professional (qtp)?

995


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3956


How many scripts did you have?

2118


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

3367


Explain Descriptive Programming Types with Examples?

1428


Whats the realtime QTP testing process

2377


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2359


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1974


Explain QTP using different development techniques ?

862


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

969


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1977


can any body give the banking domain concepts/links

4018


What is TOM in QTP?

2168