injinia
  • Welcome
  • Blog
  • contact
  • links
  • Hire Me!

More ruby automation goodness

4/2/2014

0 Comments

 
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:
  • https://github.com/cheezy/page_navigation
  • https://github.com/cheezy/data_magic
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.

    Author

    Hi, my name is Clancey and I am a quality advocate, agile coach, scrum master, automator, and toolsmith.

    I help companies with agility and quality. To do this I end up automating a lot of things, functional testing and workflows being some of them.

    Clancey McNeal CTSM, CSM, A-CSM
    Getting started with ruby automation series
    1. Required Installs
    2. Tools
    3. Project Structure
    4. Page Objects

    Archives

    June 2023
    May 2023
    April 2023
    June 2021
    March 2020
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    February 2014
    December 2013

    Categories

    All
    AI
    API
    Cucumber
    Espanso
    Getting Started
    Insomnia
    Mouse Without Borders
    Page Objects
    Python
    Rspec
    Ruby
    Setup
    Slack
    Sublime
    Tools
    Web Test Automation

    RSS Feed

Copyright injinia, images copyright Adachi Photography