Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to test RCP application with login screen?
How to test RCP application with login screen? [message #1431133] Thu, 25 September 2014 08:51 Go to next message
M Jääskeläinen is currently offline M JääskeläinenFriend
Messages: 11
Registered: August 2014
Junior Member
Hello,

I have a 3rd party E3.x rcp application.
The application has authentication with login screen when started.

After entering the login details and selecting "login", the actual rcp application starts.

I want to write SWTBot tests for this application, but SWTBot FAQ says that login screens are not supported.

It suggesting that login operation should be modified to read authentication from the system properties, but I can't do that, because it's a 3rd party app.

Any suggestions how to proceed?

Thanks for your help!


Re: How to test RCP application with login screen? [message #1433724 is a reply to message #1431133] Mon, 29 September 2014 07:10 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

> Any suggestions how to proceed?

Documentation is exhaustive here: you can't test login screens with
SWTBot. If your application doesn't provide a way to skip the login
screen, then I think you're stuck. The login screen part will need to
operated manually.
Once login screen is gone, then tests should work just fine.

--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: How to test RCP application with login screen? [message #1435389 is a reply to message #1433724] Wed, 01 October 2014 12:30 Go to previous message
M Jääskeläinen is currently offline M JääskeläinenFriend
Messages: 11
Registered: August 2014
Junior Member
Ok, thanks for the reply.
I want to make automated tests for all the application that are run in the CI environment. I can't start to make manual operations.

So this means I need to select then other testing tool than SWTBot for RCP application.
Previous Topic:How to Click on a link under a CTabFolder?
Next Topic:Eclipse Newsletter Article about SWTBot published
Goto Forum:
  


Current Time: Sat Dec 14 13:30:37 GMT 2024

Powered by FUDForum. Page generated in 0.03424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top