On 01/06/2014 03:32 PM, melwyn jensen wrote:
Hi All,

Just found the root cause of jenkins build hanging issue with swtbot. Whenever the test executes the step where it gets a new popup window the entire testcase hangs at that instant. For eg. We have an option as delete in the eclipse plugin and when clicked it opens a confirmation window asking for "Confirm delete" but now that window doesn't seem to show up at all cause it hangs when the option delete is selected. The same happens with all the confirmation, error etc.. dialog boxes..

Any idea why this is happening? Can someone please help to figure out this root cause now?
Could it be that you're running tests in UI Thread?
* http://wiki.eclipse.org/SWTBot/UsersGuide#Getting_started_with_SWTBot
* http://wiki.eclipse.org/SWTBot/FAQ#Why_do_tests_run_on_a_non-UI_thread.3F
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>
_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to