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 / sreeprasad
Any Application, it may be web or it may be window based
applications, we use getroproperty() method to get the data
from the Editbox.Same way if u want to set the data to the
editbox we use set()method.
for example:
Dim variable name
variable name = Browser(browser).page
(pagename).GetROproperty("Logical name")
if u want to print in dialogbox use msgbox()function OR
if u want to print in test result use reporter.reporter
event() function
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain qtp(quick test professional)?
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.
When using descriptive programming?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
how do u plan test automation?
What is the quicktest professional (qtp) testing process?
What is an object repository?
How to save your test using quicktest professional?
Does QTP run in any environment?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Hi Samrat, Thank u very much, what u said it is right.
What is the difference between the design-time and run-time data tables?
What are the main differences of qtp and win runner?
Which environments are supported by hp qtp?