if there is a web table of having row and colmns.a button is
placed at 2nd row's 3rd column which is worked for both edit
and delete..how to write script for the button to test both
operation on the web table using desriptive programing..
plz help me on script wheather using getroproperty
Q2)what is the command for taking valiue from a web table in qtp
Answer Posted / ganesh kumar
Using Descriptive Prograaming first identify the Properties
that are unique to recognize the webtable. After use
the 'ChildItem' method of webtable and create a Dynamic
object Model and then use the GetROProperty to fetch the
name of the button placed at 2nnd row and 3rd column.
Ex:
set objButton=Browser().page().frame().webtable().childitem
(2,3,"WebButton",0)
strname=objButton.getroproperty("name")
msgbox strname
The Above code Displays the name of the Button placed at
2nd row and 3rd column
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How to check bitmap output value?
how to find that tools work well with ur existing system?
How to use output values in qtp ?
Can we create a qtp test from qc?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
Explain calling sub procedure.
What is text/text area checkpoint?
How will you report the bug and explain the defect tracking sheet you handled?
Is it possible to switch between recording modes during a test creation?
How will you test a keyboard?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
What is synchronization point in QTP?