This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tcommon-studio-se/org.talend.tos.swtbot.test

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.