Anyway, thought you may find this useful, I sure do. It has sped up automation for me like crazy.
I'm building all of the automation on top of watir-webdriver as mentioned before. I am using a number of gems from cheezy, on top of the base page_object gem. These are:Data magic saves me a ton of time (and means no fiddling around with excel!). To use it, just have a yaml file with something like this: default.yml
In you page file make sure that the text_fields you are using are named the same as the variables in your yaml file. login_page.rb
Then you can use this to populate the data from the yaml file into the page: caller (story/flow/whatever)
wala, done!
Anyway, thought you may find this useful, I sure do. It has sped up automation for me like crazy.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
AuthorHi, my name is Clancey and I am a quality advocate, agile coach, scrum master, automator, and toolsmith. Getting started with ruby automation series
Archives
June 2023
Categories
All
|