12-28-2010, 03:56 PM
Identifying Dynamic tab in Java table
I have struck identifying a dynamic tab in Java table. I have a javatable with mulitple tabs and no of rows under each tab. The tab name will be static, For example the tab names are Temp(3), Untemp(6)
and Completed(9), the tab name will be same and number in the () will get change with respective to the no of rows. In this case, i'm not able to identify the Dynamic tab.
Recording Code
Tried with DP and RG
Properties of Java Tab in Object Spy
Above DP code doesn't work for me. Please help me in identifying the dynamic tab. Thanks in Advance
Properties Values
Class Name - JavaTab
attached text - flip: 0
class description - tab
developer name - flipout
path - flipStatusTabbedPane
tagname - flip: 01
toolkit class - flip:0901010
value - Temp (3)
Thanks
Vinod
I have struck identifying a dynamic tab in Java table. I have a javatable with mulitple tabs and no of rows under each tab. The tab name will be static, For example the tab names are Temp(3), Untemp(6)
and Completed(9), the tab name will be same and number in the () will get change with respective to the no of rows. In this case, i'm not able to identify the Dynamic tab.
Recording Code
Code:
JavaWindow("swapping").JavaTab("flip: 0").Select "Temp (3)"
Tried with DP and RG
Code:
JavaWindow("title=:swapping").JavaTab("attached text=: 0","value=: Temp(.*)").Select
Properties of Java Tab in Object Spy
Above DP code doesn't work for me. Please help me in identifying the dynamic tab. Thanks in Advance
Properties Values
Class Name - JavaTab
attached text - flip: 0
class description - tab
developer name - flipout
path - flipStatusTabbedPane
tagname - flip: 01
toolkit class - flip:0901010
value - Temp (3)
Thanks
Vinod