WindowTester does not start recording

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

WindowTester does not start recording

Postby roland.schuld » Wed Jan 16, 2008 1:19 am

Hi Folks!

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?

Additional Information:
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

Re: WindowTester does not start recording

Postby gnebling » Thu Jan 17, 2008 2:17 pm

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. 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.

WT Support
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