Checkup is E2E testing tool made by Golang.
You can write testcases easily that Syntax is YAML format.
$ checkup -r http://localhost:4444/wd/hub testcase.yaml
also use remote yamlfile...
$ checkup -r http://localhost:4444/wd/hub https://dl.dropboxusercontent.com/s/8zm9smw00oc/test.yml
- Type YAML Format at the file.
- Use XPATH or CSS-Selector to Access the DOM-Element.
testcase:
- name: sample test
browser: firefox
selector: xpath # Use "xpath" or "css selector", default is "xpath"
steps:
- get: https://code.google.com/p/selenium/wiki/Buck
- saveScreenshot: sele1.png
- setElementSelected:
target: //*[@id="can"]/option[5]
- saveScreenshot: sele2.png
$ go get github.com/ktrysmt/checkup
[ ] Support CSS-Selector [ ] Support to select CSS-Selector or XPATH [ ] Add more example source [ ] write Reference for how to use [ ] make steps about StoreXXX command [ ] Use the color in STDOUT for readability
Run docker to use Selenium-Hub easily in your localhost.
docker ps -aq | xargs docker rm # remove trush at first ...
docker run -d -p 4444:4444 --name selenium-hub selenium/hub
docker run -d --link selenium-hub:hub selenium/node-chrome-debug
docker run -d --link selenium-hub:hub selenium/node-firefox-debug