question

ramarb avatar image
ramarb asked ramarb posted

swing: how do I sort through table header

I have a swing JTable in the application. I need to check column sorting functionality which can be done by clicking column header.

i tried some actions in itest but nothing helps. Your way?

Thanks.

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PreetS avatar image
PreetS answered PreetS posted

There is an action called "clickColumnHeader"

it takes in column name or the column index as an argument. 

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.