Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
demo_webstore [2020/04/26 03:33] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Demo Model: WebStore ===== | ||
- | {{http:// | ||
- | ==== Objective ==== | ||
- | To demonstrate modeling and test automation for a simple web application. | ||
- | |||
- | ---- | ||
- | ==== What's Included ==== | ||
- | This demo includes the following components: | ||
- | |||
- | * MBT model: see above. | ||
- | * MScript [[http:// | ||
- | * Simple [[http:// | ||
- | |||
- | ---- | ||
- | ==== WebStore App ==== | ||
- | The web app consists of a set of simple html pages (static). Our goal is to test all transitions (links and buttons) to ensure they work as expected. That is, when a button or a link is clicked, it should take you to the correct page. | ||
- | |||
- | ---- | ||
- | ==== Modeling ==== | ||
- | With this simple example application, | ||
- | |||
- | |||
- | ---- | ||
- | ==== Test Generation ==== | ||
- | From this model, we then generate the series of sequence (transition traversal) which will walk through different web pages and cover all transitions in the model. To do this, select the // | ||
- | |||
- | ---- | ||
- | ==== Test Automation ==== | ||
- | Test sequence is just a series of steps (clicking mouse), you could certainly follow this sequence by manually clicking the web pages to test. With // | ||
- | |||
- | As you have noticed, mScript is just a set of commands to tell // | ||
- | |||
- | ---- | ||
- | ==== Execute Model ==== | ||
- | With the model and mScript, you can execute the model and test the web app by clicking on the run button and watch the web pages being clicked away automatically. Make sure you selected [[selenium_plugin | Selenium Plugin]] though (in MBT property). |