How to locate the eclipse tableViewer's table in WT

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

How to locate the eclipse tableViewer's table in WT

Postby Santhosh » Mon Jun 07, 2010 1:40 am

Kindly post me ur valuable suggestions on how to locate the eclipse tableViewer's table in WT?

Thanks & Regards,
Santhosh
Santhosh
 
Posts: 7
Joined: Mon Apr 19, 2010 12:53 am

Re: How to locate the eclipse tableViewer's table in WT

Postby Phil Quitslund » Tue Jun 08, 2010 2:23 pm

A simple SWTWidgetLocator should do:

Code: Select all
new SWTWidgetLocator(Table.class, ...));

(where ... is filled in with details that scope the table in case there is more than one visible.)

But tell me, are you trying to access the table itself or rather are you trying to access its items? Moreover, what are you trying to do? Make selections? Assertions?
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest