Ruby
  • 02 Mar 2023
  • 1 Minute to read
  • Dark
    Light

Ruby

  • Dark
    Light

Article summary

Overview

Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. Everything in Ruby is an object except the blocks, but there are replacements too for it i.e procs and lambda. The objective of Ruby’s development was to make it act as a sensible buffer between human programmers and the underlying computing machinery.

Prerequisites

  • Ruby should be installed on the machine

Commands to install Ruby on your machine:

  • sudo apt-get install ruby
  • ruby -v
  • sudo apt-get install ruby2.3-dev
  • sudo gem install httparty
  • sudo gem install appium_lib

Steps

  1. Clone the project.
  2. Enter your in pCloudy_Username="Enter your Email-id" Step-9: Enter your in pCloudy_ApiKey="Enter your API Key"
  3. Enter your in pCloudy_ApplicationName="Enter your ipa Name which should be present in the cloud.
  4. Open Terminal.
  5. cd to the directory which contains the project.
  6. Run the command ruby SampleTestCase.rb
  7. Optional Capabilities : Can choose any one of the below:
    • Option1: pCloudy_DeviceManafacturer
    • Option2: pCloudy_DeviceVersion
    • Option3: pCloudy_DeviceFullName

For more details, please refer below link:

https://www.pcloudy.com/appium-integration-architecture-redefined-appium-runs-become-simpler-with-pcloudy/

The complete sample and documentation are available in the pCloudy GitHub Repository


Was this article helpful?

What's Next