There are two tabs in the application
suppose, A and B.On clicking the tab "A" one
table grid will open. if u click on tab "B" Another table
gride will open.
Now can I do some operations on both table grids with a
single table grid properties in the object repository?
I have added all objects of the first table grid into the
object repository
Now iam checking enable/disable status of "save button" in
the second table grid
my code is like this
val=javawindow("zseries").javabutton("save").getroproperty
("enabled")
when I highlighting the save button in the object
repository by keeping open the second tablegrid on the
application.It is displaying the popup message"The selected
object can not be found in the application"
can I use properties of one table grid for both tabs
if so how it is possible.
Can anyone help me
Answers were Sorted based on User's Feedback
Answer / maniram
yes.. i think we can use it.
by default,QTP recognises the tablegrid with some 2
properties (say window name, window type).
When we record the first tablegrid, QTP identifies it with
the default properties.
When we have 2 windows of the same type, QTP takes into
consideration of the Ordinal Identifier (or assistive
properties if u have given any) to identify b/w the two.
So, if Ordinal Identifier or an assistive property is
defined for the tablegrid, one single table grid properties
in the Object repository is sufficient to go with the testing.
Any ideas on this are welcome
Maniram.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikas sachdeva
I think u can use SetToProperty Method for this.
| Is This Answer Correct ? | 0 Yes | 0 No |
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
How to Analyze the Checpoint results by Table and DB Checkpoints?
How to add a runtime parameter to a datasheet?
Once the Actions are splitted , is there any way to merge them
What is the use of low level recording? How does it useful?
what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief
How to call a function in QTP?Is there any method ? Thanks , PRASANNA
What are accessibility check point and xml check point?
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
If requirments changed then how we can teach the QTP this is the new requirment
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
For Regression testing already written test cases are sufficient?