Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui test automation #20

Open
newpcraft opened this issue Nov 25, 2016 · 1 comment
Open

ui test automation #20

newpcraft opened this issue Nov 25, 2016 · 1 comment
Assignees
Labels

Comments

@newpcraft
Copy link
Collaborator

newpcraft commented Nov 25, 2016

goal

  • test automation for eclipse swt(even jface)
  • headless test supports through jenkins (if possible)
@newpcraft newpcraft added the task label Nov 25, 2016
@newpcraft newpcraft self-assigned this Nov 25, 2016
@newpcraft
Copy link
Collaborator Author

newpcraft commented Nov 28, 2016

I just pushed a test project here due to how we add ui test code for a cubrid manager client, however, it is just scratches for demo which means that I'm not sure whether or not it works for all environment. Yes, that's just my private scratches.

https://github.com/newpcraft/cubrid-manager/commit/c10975afe6dbec4f460cdc537bde1ef29fb63bfd

prerequisite

manager password

In above test, it should require a cubrid server with the demodb that didn't be changed a password of admin on the cubrid manager server. In order to test successfully, you should rolling back the password of the cubrid manager, so you can refer the following article how to replace with default cubrid manager password.

http://www.cubrid.org/wiki_tools/entry/how-to-reset-admin-password-for-cubrid-manager

Simply, you have only to replace a password with admin:6e85f0f80f030451dc9e98851098dfb2 in $CUBRID/conf/cm.pass file.

demodb should be stopped before testing

As well as you also should stop a demodb server before you run this test using the following command.

cubrid server stop demodb

headless test

I'm still investigating how make it sure testing through headless fashion through swtbot. However, as I knew that it may also work under headless of swtbot if we make it sure qualified tests cases by swtbot framework.

recorder

Swtbot also provides test code generator however you may unsatisfied a result from the generator which means you also need to write your test codes manually(however quite helpful sometime).

more guides and tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant