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
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Differentiate the type of test cases which can be automated and which cannot be automated?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Where to use function or action?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
what is object and child object.. explain ..if possible give some example for better understanding ..
In qtp, how you can exit for loop?
Diff b/w test scenario's and test Procedures?
Diff b/w Health care domain and Banking Domain?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
How many types of recording modes in the qtp?