Quantcast

UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

tomge
Hi, 

Anyone has successfully configured Windowtester Pro on Jenkins server? 

I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got "Exception occurred on the SWT UI Thread" on my UI test cases. Anyone has a solution for this???


Thanks!
/Tao
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

Fred G
Hi,

yep, we successfully run tests on a Jenkins server with the latest version of Windowtester Pro from http://dl.google.com/eclipse/inst/windowtester/beta/3.7.

There can be multiple possible reasons for the "Exception occurred on the SWT UI Thread" error.
Please make sure that you're able to start the tests from commandline (or Ant skript, etc) independently from Jenkins first.

You might want to post this question with some more information (eg. stack trace) to the Windowtester Pro google group (https://groups.google.com/forum/#!forum/windowtester-pro), as it might not be a Jenkins specific problem.


Regards,

Fred

On Wednesday, August 22, 2012 10:15:11 AM UTC+2, Tao Xin wrote:
Hi, 

Anyone has successfully configured Windowtester Pro on Jenkins server? 

I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got "Exception occurred on the SWT UI Thread" on my UI test cases. Anyone has a solution for this???


Thanks!
/Tao
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

tomge
Hi Fred,


Thanks for your reply!

I have tried windowtester 3.7 also, but it caused some other bundle errors, is it possible for you to post the configuration of windowtester in pom.xml file? Really appreciateit!!


Thanks!
/Tao

On 22 August 2012 11:17, Fred G <[hidden email]> wrote:
Hi,

yep, we successfully run tests on a Jenkins server with the latest version of Windowtester Pro from http://dl.google.com/eclipse/inst/windowtester/beta/3.7.

There can be multiple possible reasons for the "Exception occurred on the SWT UI Thread" error.
Please make sure that you're able to start the tests from commandline (or Ant skript, etc) independently from Jenkins first.

You might want to post this question with some more information (eg. stack trace) to the Windowtester Pro google group (https://groups.google.com/forum/#!forum/windowtester-pro), as it might not be a Jenkins specific problem.


Regards,

Fred


On Wednesday, August 22, 2012 10:15:11 AM UTC+2, Tao Xin wrote:
Hi, 

Anyone has successfully configured Windowtester Pro on Jenkins server? 

I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got "Exception occurred on the SWT UI Thread" on my UI test cases. Anyone has a solution for this???


Thanks!
/Tao

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

Fred G
Hi Tao,

We currently still use an Ant script to start our tests.

I did some experiments with Maven/Tycho and Windowtester Pro though and
found the missing piece of the puzzle in a blogpost:
http://www.van-porten.de/2012/01/running-windowtester-pro-from-maventycho/

The dependency on "com.windowtester.runtime.feature.group" made it work for me.

Hope this helps,

Fred


On Wednesday, August 22, 2012 3:05:07 PM UTC+2, Tao Xin wrote:
Hi Fred,


Thanks for your reply!

I have tried windowtester 3.7 also, but it caused some other bundle errors, is it possible for you to post the configuration of windowtester in pom.xml file? Really appreciateit!!


Thanks!
/Tao

On 22 August 2012 11:17, Fred G <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="GTgiMkUif_QJ">fred...@...> wrote:
Hi,

yep, we successfully run tests on a Jenkins server with the latest version of Windowtester Pro from http://dl.google.com/eclipse/inst/windowtester/beta/3.7.

There can be multiple possible reasons for the "Exception occurred on the SWT UI Thread" error.
Please make sure that you're able to start the tests from commandline (or Ant skript, etc) independently from Jenkins first.

You might want to post this question with some more information (eg. stack trace) to the Windowtester Pro google group (https://groups.google.com/forum/#!forum/windowtester-pro), as it might not be a Jenkins specific problem.


Regards,

Fred


On Wednesday, August 22, 2012 10:15:11 AM UTC+2, Tao Xin wrote:
Hi, 

Anyone has successfully configured Windowtester Pro on Jenkins server? 

I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got "Exception occurred on the SWT UI Thread" on my UI test cases. Anyone has a solution for this???


Thanks!
/Tao

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: UI Test Case (Windowtester Pro) with Exception occurred on the SWT UI Thread

tomge
Hi Fred,

Thanks a lot for your help!

I finally manage to make it work, with windowtest pro 3.7, it might be problem with version 3.6.

Really appreciate it!!!


/Tao


On 22 August 2012 16:51, Fred G <[hidden email]> wrote:
Hi Tao,

We currently still use an Ant script to start our tests.

I did some experiments with Maven/Tycho and Windowtester Pro though and
found the missing piece of the puzzle in a blogpost:
http://www.van-porten.de/2012/01/running-windowtester-pro-from-maventycho/

The dependency on "com.windowtester.runtime.feature.group" made it work for me.

Hope this helps,

Fred



On Wednesday, August 22, 2012 3:05:07 PM UTC+2, Tao Xin wrote:
Hi Fred,


Thanks for your reply!

I have tried windowtester 3.7 also, but it caused some other bundle errors, is it possible for you to post the configuration of windowtester in pom.xml file? Really appreciateit!!


Thanks!
/Tao

On 22 August 2012 11:17, Fred G <[hidden email]> wrote:
Hi,

yep, we successfully run tests on a Jenkins server with the latest version of Windowtester Pro from http://dl.google.com/eclipse/inst/windowtester/beta/3.7.

There can be multiple possible reasons for the "Exception occurred on the SWT UI Thread" error.
Please make sure that you're able to start the tests from commandline (or Ant skript, etc) independently from Jenkins first.

You might want to post this question with some more information (eg. stack trace) to the Windowtester Pro google group (https://groups.google.com/forum/#!forum/windowtester-pro), as it might not be a Jenkins specific problem.


Regards,

Fred


On Wednesday, August 22, 2012 10:15:11 AM UTC+2, Tao Xin wrote:
Hi, 

Anyone has successfully configured Windowtester Pro on Jenkins server? 

I used Eclipse Indigo, Windowtester 3.6.. everything seems ok, but I got "Exception occurred on the SWT UI Thread" on my UI test cases. Anyone has a solution for this???


Thanks!
/Tao


Loading...