diff --git a/README.md b/README.md index 3c26d69..cd253c6 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,25 @@ also use remote yamlfile... ``` $ checkup -r http://localhost:4444/wd/hub testcase.yaml https://dl.dropboxusercontent.com/s/8zm9smw00oc/test.yml ``` + +## Format + +- Type YAML Format at the file. +- Use XPATH to Access DOM-Element + +## Example + +``` +testcase: +- name: sample test + browser: firefox + steps: + - get: https://code.google.com/p/selenium/wiki/Buck + - saveScreenshot: sele1.png + - setElementSelected: + target: //*[@id="can"]/option[5] + - saveScreenshot: sele2.png +``` ## Install @@ -21,6 +40,15 @@ $ checkup -r http://localhost:4444/wd/hub testcase.yaml https://dl.dropboxuserco $ go get github.com/aqafiam/checkup ``` +## Feature + +- Support CSS-Selector +- Support to select CSS-Selector or XPATH +- Add more example source +- make Reference to use +- make steps about StoreXXX command +- Use the color in STDOUT for readability + ## License MIT diff --git a/tests/test_alert.yml b/example/test_alert.yml similarity index 100% rename from tests/test_alert.yml rename to example/test_alert.yml diff --git a/tests/test_bodytext.yml b/example/test_bodytext.yml similarity index 100% rename from tests/test_bodytext.yml rename to example/test_bodytext.yml diff --git a/tests/test_cookie.yml b/example/test_cookie.yml similarity index 100% rename from tests/test_cookie.yml rename to example/test_cookie.yml diff --git a/tests/test_drag.yml b/example/test_drag.yml similarity index 100% rename from tests/test_drag.yml rename to example/test_drag.yml diff --git a/tests/test_eval.yml b/example/test_eval.yml similarity index 100% rename from tests/test_eval.yml rename to example/test_eval.yml diff --git a/tests/test_not_select.yml b/example/test_not_select.yml similarity index 100% rename from tests/test_not_select.yml rename to example/test_not_select.yml diff --git a/tests/test_sample.yml b/example/test_sample.yml similarity index 100% rename from tests/test_sample.yml rename to example/test_sample.yml diff --git a/tests/test_select.yml b/example/test_select.yml similarity index 100% rename from tests/test_select.yml rename to example/test_select.yml diff --git a/tests/test_waitforbodytext.yml b/example/test_waitforbodytext.yml similarity index 100% rename from tests/test_waitforbodytext.yml rename to example/test_waitforbodytext.yml diff --git a/tests/test_waitforvalue.yml b/example/test_waitforvalue.yml similarity index 100% rename from tests/test_waitforvalue.yml rename to example/test_waitforvalue.yml