Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identifying Dynamic tab in Java table
#1
Not Solved
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
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
Reply
#2
Not Solved
Any one has idea on this!
Reply
#3
Not Solved
Hi Vinod,
You can try with toolkit class as mandatory property in combination with value or attached text in DP to identify Javatab.

It worked for me.Hope it will help u
Reply
#4
Not Solved
Hi
- What is the error you are getting?
In descriptive programming, always we used the :=
Shall we used =:? Please clarify, if i am wrong correct me
Tried with DP and RG
Code:
JavaWindow("title=:swapping").JavaTab("attached text=: 0","value=: Temp(.*)").Select

Thanks,
Arul
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Simulate Tab in qtp AndrĂ© Amorim 7 6,074 05-23-2013, 07:08 PM
Last Post: André Amorim
  Tab Flow in a Sign In page for web Application. Madhavi 4 4,471 04-19-2011, 10:30 AM
Last Post: Madhavi

Forum Jump:


Users browsing this thread: 1 Guest(s)