h1. YAKINDU Statechart Tools – Testcase 14 - Example wizard

|_. Nr |_. Testname |_. Test Instructions |_. Postconditions |_. Status|
| 14.1 | Download new example repository | <ol><li><p>Make sure you don't have a directory _sct_examples_ in your user's home directory. If needed, delete it or move it elsewhere.</p></li><li><p>In YAKINDU Statechart Tools, select _File → New → Example…_ from the main menu.</p></li><li><p>Select _YAKINDU Statechart Examples_.</p></li><li><p>Click on _Next_.</p></li><li><p>Click on _Download_.</p></li></ol> | The YAKINDU Statecharts Examples repository it downloaded successfully. | %{color:red}open% |
| 14.2 | Update existing repository 1 | Through a mechanism yet to be defined, force an update of the Repository. E.g., in Eclipse, change the repository location in the sourcecode. Open the example wizard again. | The wizard should ask you to update the repository. | %{color:red}open% |
| 14.3 | Update existing repository 2 | Do the update, and check if the changes are reflected, as possible | Update performs successfully | %{color:red}open% |
| 14.4 | Prepare Internet connection tests | <ol><li><p>Download the example repository as a "ZIP archive from GitHub":https://github.com/Yakindu/examples/archive/release.zip. </p></li><li><p>Unpack the ZIP archive to a local directory.</p></li></ol> | – | %{color:red}open% |
| 14.5 | Internet connection 1 | <ol><li><p>Disconnect from the Internet.</p></li><li><p>Make sure you don't have an _sct_examples_ folder in your home directory.</p></li><li><p>Start the example wizard.</p></li><li><p>In the example wizard, click on _Download_.</p></li></ol> | The example wizard tries to download the example repository and fails with the following error message: "Unable to download examples. You can manually download them from "http://www.statecharts.org/examples.html":http://www.statecharts.org/examples.html. | %{color:red}open% |
| 14.6 | Internet connection 2 | <ol><li><p>After the download failed, click on _Back_.</p></li><li><p>Click on _Next_.</p></li><li><p>Click on the _"change the storage location"_ link.</p></li><li><p>Click on _Browse…_</p></li><li><p>Select the directory you unpacked the ZIP archive to.</p></li></ol> | The example wizard shows the examples available in the unpacked folder. | %{color:red}open% |
| 14.7 | Version compatibility | <ol><li><p>In the main menu, select _File → New → Example…_.</p></li><li><p>Select _YAKINDU Statechart Examples_.</p></li><li><p></p>Click on _Next_.</p></li></ol> | <ul><li><p>There are examples for the Standard and the Professional Edition.</p></li><li><p>The PRO examples are highlighted with a PRO icon and a red border around the information text.</p></li></ul> | %{color:red}open% |
| 14.7.1 | Version compatibility | <ol><li><p>Select a PRO example.</p></li></ol> | <ul><li><p>The example wizard shows an information that the example requires YAKINDU Statechart Tools Professional Edition.</p></li><li><p>The example wizard offers a download of YAKINDU Statechart Tools Professional Edition.</p></li></ul> | %{color:red}open% |
| 14.8 | Download link test | <ol><li><p>Click on the link to download the Professional Edition.</p></li></ol> | A web browser opens showing the YAKINDU Statechart Tools download page. | %{color:red}open% |
