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 |
for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
2 Answers FFASVA, Genpact, Wipro,
I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?
what is the qtp objects?
How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?
Is virtual object supported in low level recording mode?
how many maximum number of virtual users we can create?
What is an optional step in qtp ?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
Few basic questions on commonly used Excel VBA functions.
How u will open the build automatically in QTP except using Systemutil.run command
What is the difference between Keyword Driven test and Data Driven test?
How can we check whether a particular sheet loaded (existed) or not in Data Table.