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
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How to analyzing test results using quicktest professional (qtp)?
What is ObjectParamater?
What is the file extension of the code file in qtp?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
How to customize checkpoints with parameters?
What is the difference between a Function and Action in QTP?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
How often were they executed?
Why do we use breakpoints in QTP?
Explain how qtp identifies objects?
what kind of frame work you used in your last project?