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 / 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 |
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
what are the cases in which we use XML and accessibility check points.
How is test case write?
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
How to Test the mainframe application?
What is keyword driven framework, what is "key" in It.
can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...
what frame work you are following?
What is the difference between action & script?
How to associate shared object repository to test in qtp?
how many wayes we do the parameterization?