-
Notifications
You must be signed in to change notification settings - Fork 24
Getting start
In windows, open command console and type just like below:
lazyman new your_project_name
Lazyman contains some examples that explain how to use lazyman writing your own test cases.
By default, lazyman runs examples using chrome browser, so make sure you installed google chrome and according chrome driver
Using following command to make everything running.
cd your_project_name
lazyman go # or rspec
Lazyman go command supports all the rspec options and it is the recommend way.
You can find test report in app/reports folder. It is a html file with current time stamp.
You can use eat console to debug your test in irb.
cd your_project_name
lazyman c
Lazyman will load all your pages, start irb and open browser which was defined in your config.yml.
Then you can use $navi variable the same way in your test file.
p = $navi.goto_baidu_page
p.keyword="watir-webdriver"
p.search_element.click
You can type everything just like you are write a text case.