Capybara
- 12 Oct 2023
- 1 Minute to read
- Print
- DarkLight
Capybara
- Updated on 12 Oct 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Capybara is a web-based test automation tool that replicates user story scenarios and automates testing of web applications, aligning with behavior-driven software development. It's coded in the Ruby programming language.
Prerequisites
- Install Ruby and Bundler: Make sure you have the latest version of Ruby and Bundler installed on your system.
Installation and Setup
Run the following command to install the required packages listed in Gemfile:
bundle install
Configuration
- Personal Info: In "features/support/pcloudy.rb", provide your personal details:
- pCloudy_Username: Your email address.
- pCloudy_ApiKey: Your API key.
Running the Test
To execute the Capybara test script:
- Open the terminal and navigate to the project directory.
- Run the following command:
bundle exec rake singleDevice
The complete sample and documentation are available in the pCloudy GitHub Repository : Github
Was this article helpful?