This project is an application skeleton for a typical catjs with jQuery Mobile mobile-web app.
The seed contains a sample JQM application with catjs annotation (called scraps). catjs will generate a new test project and translate those scraps to scripts within your code.
After building your project, catjs will emulate a simple user-flow in the application. catjs will fill the input fields, click, slide and more.
catjs is a new open source automation framework for mobile-web applications testing
Check out the catjs page http://catjsteam.github.io/
Or try npm page and github page
You see full demo on jqm-kitchen-sink
Check our demo
Download and open the zip or use git clone.
Copy to:
{select.path}/catjs-jqm-seed
First you need to download and install node.js
If you are working throw proxy Open the cmd:
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Windows :
cd {select.path}/catjs-jqm-seed
npm install -g catjs
mac / linux :
cd {select.path}/catjs-jqm-seed
sudo npm install -g catjs
As we told before in our JQM example code the cat automation is ready for building. To build the project and start the server, On the cmd:
cd to cat-project
catcli -cbs
Now open you browser on http://localhost:8089/ and see the result
This example regardes to an application in the path of:
{select.path}/{appName}
Open the cmd:
cd {select.path}
catcli --init
prompt: Enter the project name: catexample
prompt: Enter CAT server's host name: (localhost) (just click enter)
prompt: Enter CAT server's port: (8089) (just click enter)
prompt: Enter CAT server's protocol: (http) (just click enter)
prompt: Would you like to contribute analytics to CAT: (true) (just click enter)
prompt: Enter your project's (application) path: ./../app
return to Build test deployment
catjs will fill the input fields, slide, check and click the signup button
Before
catjs in action