git-svn-id: http://talendforge.org/svn/tis_shared/trunk@73182 f6f1c999-d317-4740-80b0-e6d1abc6f99e
18 lines
1.3 KiB
Plaintext
18 lines
1.3 KiB
Plaintext
Installed SWTBot
|
|
|
|
1.Click Help>Install New Software…
|
|
2.Copy and paste the relevant update site from http://eclipse.org/swtbot/downloads.php into the Work with: dropdown and press Return or Enter
|
|
3.All the software available on the update site would be listed in the table
|
|
4.Check SWTBot IDE Support, SWTBot Eclipse Features, SWTBot JUnit 4.x Headless Execution, SWTBot GEF Features.
|
|
|
|
Configure Targe Platform
|
|
|
|
1.If you test for code, skip this step. If you want to test product, you should configure your target platform using the Target Platform Preference Page accessible using Window > Preferences… > Plug-in Development > Target Platform
|
|
|
|
Run the SWTBot JUnit Test
|
|
|
|
1.Right click on the test in the editor Run As>Run Configurations…
|
|
2.Select the Main tab and set the product as org.talend.rcp.branding.tos.product and set the Location as "E:/workspaces/runtime_test_nologindialog" and check Clear box if you want
|
|
3.Select the Arguments tab and add "--disableLoginDialog -project TEST_NOLOGIN -language java -login a@b.c -data E:/workspaces/runtime_test_nologindialog" to the Program arguments
|
|
4.You may also set VM arguments as "-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=512m"
|
|
5.Click Run to run the test. If all are running correctly, you should see a green bar. |