Giter Site home page Giter Site logo

catjs-jqm-seed's Introduction

Getting started with catjs & jQueryMobile

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

Setup your environment

Download and open the zip or use git clone.
Copy to:

{select.path}/catjs-jqm-seed

Install node.js

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

Install catjs

Windows :

cd {select.path}/catjs-jqm-seed
npm install -g catjs

mac / linux :

cd {select.path}/catjs-jqm-seed
sudo npm install -g catjs

Build test deployment

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

Note - If you already have html5 app code and wants to create a new catjs-project

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

See catjs in action

catjs will fill the input fields, slide, check and click the signup button
Before
alt text
catjs in action
alt text

catjs-jqm-seed's People

Contributors

ransnir avatar

Stargazers

Arik avatar  avatar

Watchers

James Cloos avatar  avatar Arik avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.