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
I created an Application that starts a LoginDialog when starting the Application.
Now I want to record a testcase but the recording Dialog does only appear AFTER I logged in. That is much too late.
How can I make the recording dialog appear earlier?
My Application is a RCP/SWT Application. The LoginDialog is created in the "postWindowOpen()" method of the ApplicationWorkbenchWindowAdvisor-Class.
- Posts: 1
- Joined: Wed Jan 16, 2008 1:08 am
WindowTester starts recording only after the RCP application workbench is launched. So as of now, it is not possible to record the login dialog.
There is a workaround to it. If you could specify the user name and password as VM args for eg. -Duser.name=Ronald and -Dpassword=example, then, when launching the application it would bypass the login dialog. That way the test would be able to run.
Let us know whether this works for you.
- Posts: 243
- Joined: Tue Aug 22, 2006 7:49 am
Return to Window Tester
Who is online
Users browsing this forum: No registered users and 1 guest