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 / naina
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
objButton.Set "Example" //For Webedit opertaion
objButton.Click //For Delete opertaion
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How u will do versioning in QTP?
Explain process of smart Identification in QTP?
How you can find the absolute value of the number in qtp?
Name the different types of recording modes?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How you know that a test case is a regression test case
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
How to get the particular property value?
What is the new version of qtp which is recently released in the market?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
How many types of parameters are available in quicktest professional?
How you are developing the script? Using record and play back or manual?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com