This week, I have decided to write a quick post to share how to use Updock’s test suite.
I use the Updoket test suite and it was not an easy decision to get used to it but I think it is worth sharing.
As an example, let’s take a look at a test which shows a user accessing a web page from the web UI.
In this case, the test would run for approximately 10 seconds in the background.
You can download the test here: https://github.com/FusionScape/Updokete/releases/tag/updock-test-fusion-scape-test I decided to use the test code in this post to demonstrate the new API in the web browser.
The web browser’s browser would render a HTML page.
For this, I used the Webdriver test runner to run the test.
I then used the test results to validate the code by passing a boolean value to the browser to determine if it works or not.
This test can also generate HTML using the HTML generator, so I used that test as an example.
Now, the web application could generate HTML.
Notice that the page has a list of products which are sorted by price.
This test could generate a page with a list like the following: Here is the HTML generated by the test:Now, let us take a closer look at the test itself.
Here are the two test cases.
First is a simple test which generates a HTML form.
Next is a test that shows the user how to navigate to a web site by clicking on a button in the navigation bar.
The test uses the HTML template engine to generate the form and the test runs in the same browser session.
The result is a new HTML page that is generated in the Chrome browser.
Here is the same HTML page in the Chromium browser:Now that we have seen the differences, lets take a deeper look at how these tests work.
Updock has added a new test called the Updatest test which uses the Updata template engine.
This test is similar to the tests used by the Updrive test suite for a number of reasons.
First, it uses the same DOM elements, so it does not need to re-render the DOM if the DOM changes.
Third, it also allows the user to specify a number to run as the value for the test, which allows the test to simulate an actual DOM interaction.
Fifth, it does more than just DOM manipulation.
It can also run in the sandboxed environment of the browser which is also an option.
To do this, open Updod and navigate to the WebDrives project.
From there, you will see a new project in the project explorer.
Right click on the WebDrive project and select “Edit”.
Here, we will add the UpDrive test code