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 many types of parameters are there?
What are the advantages of Object Repository?
How many types of recording facility are available in quicktest professional (qtp)?
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);
How many scripts did you have?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Explain Descriptive Programming Types with Examples?
Whats the realtime QTP testing process
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
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.
Explain QTP using different development techniques ?
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?
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
can any body give the banking domain concepts/links
What is TOM in QTP?