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 do you open adobe acrobat file in QTP and do some testing on that file ?
How many types of run modes are there in qtp?
How to export quicktest professional (qtp) results to an .xls file?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
what is run-time data?
Can we create user defined functions in qtp?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
How often were they executed?
How to handle the exceptions using the recovery scenario manager in qtp?
how to explain a claims and insurance project?
Which functionalities of QTP used in banking project? pls any say answer?
Explain runtime dynamic settings?
What is QTP scenario.