asadlambdatest / ruby-selenium-sample

Sample Ruby Automation Scripts For LambdaTest Selenium Grid

Home Page:https://www.lambdatest.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Automation Using Lambdatest

Ruby Ruby selenium automation sample test for Lambdatest Cloud GRID.

Prerequisites

Install Ruby and gem on your system.

Run your First Test

  1. Clone the Ruby-selenium-sample repository.
git clone https://github.com/LambdaTest/ruby-selenium-sample.git
  1. Next get into Ruby-selenium-sample folder, and import Lamabdatest Credentials. You can get these from lambdatest automation dashboard.

    For Linux/macOS::

export LT_USERNAME="YOUR_USERNAME"
export LT_ACCESS_KEY="YOUR ACCESS KEY"

For Windows:

set LT_USERNAME="YOUR_USERNAME"
set LT_ACCESS_KEY="YOUR ACCESS KEY"

Step 3. Install dependencies using gem.

gem install selenium-webdriver 

Step 4. Run your test.

ruby todo-click-test.rb

About LambdaTest

LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your selenium automation testing to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.

Resources

About

Sample Ruby Automation Scripts For LambdaTest Selenium Grid

https://www.lambdatest.com/


Languages

Language:Ruby 100.0%