Welcome to our demo of askui on Gitpod. We will do the following things:
- Explain the moving parts
- Open the GUI of the workspace
- Observe first askui automation run
- Show you where to go from there
When you are ready open this repository in Gitpod with this button:
First, we will tidy up your workspace as the Visual Studio Code Editor in your browser is cluttered:
- Hide Sidebar: press
CTRL + b
(COMMAND + b
on macOS) - Remove Get Started tab: Left click on the x beneath the tab
Your browser window should look like this afterward:
On startup of this workspace, askui gets installed in the background and the first automation already started!
Click on the tab Simple Browser to see this workspace's GUI (Linux Desktop). What you see is like a real GUI from a physical device, but in the cloud. If you see red boxes like the one in the next picture around elements, it means the automation is ready to run:
You can also resize the tab to have a better viewing experience.
Click in the Simple Browser tab to get the focus into the GUI. Then press ESC
on your keyboard and observe that askui moves the mouse, opens Google Chrome, and navigates to a webpage by typing in the URL and pressing ENTER
on your keyboard. In between there should be same popups that get clicked away ๐
For better understanding:
askui automates your Operating System as a real human would! With real mouse movement, keystrokes, and visual selection of elements.
If you want to know how the code looks to achieve this, click on the tab my-first-askui-test-suite.test.ts to see the code with comments for each command.
You have now seen what simple automation in a remote cloud environment can do.
Head over to our User Portal to register (and use) askui for free on your local machine.
For local installation follow the Onboarding Guide there or head over to our docs Getting Started.
If you need more inspiration we have the following resources for you:
And our Discord-Community to answer any questions.
- Replace
<your workspace id>
and<your access token>
with yourworkspace id
and youraccess token
in the link below. - Then open the link in your browser
- Your
workspace id
and youraccess token
DISCLAIMER: Do not publish the link publicly as it contains your unencrypted credentials!
https://gitpod.io/#workspaceid=<your workspace id>,accesstoken=<your access token>/https://github.com/askui/askui-try-out
Go to the ports tab and reopen it as preview or in a separate browser window
Restart the Gitpod-Workspace.
Sometimes you get the following error message after running the automation:
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.
This is because of the cloud development environment you are in. Focus the terminal and terminate the running process by pressing CTRL+c
.
Restart the Gitpod-Workspace.