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 |
How u call functions in QTP Function to calculate the length of characters in a word -
What is Descriptive Programing? In which cases, we will go for descriptive programing?
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
what is test data
How i can use and create Library functions in QTP and what is the proces .
what is retesting?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
how to parameterise a test with data base table or excel sheet?
write qtp descriptive programming to activate multiple notepads? please urgent friends
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
what are the disadvantages of descriptiveprograming
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version