Ruby
- 02 Mar 2023
- 1 Minute to read
- Print
- DarkLight
Ruby
- Updated on 02 Mar 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
- Clone the project.
- Enter your in pCloudy_Username="Enter your Email-id" Step-9: Enter your in pCloudy_ApiKey="Enter your API Key"
- Enter your in pCloudy_ApplicationName="Enter your ipa Name which should be present in the cloud.
- Open Terminal.
- cd to the directory which contains the project.
- Run the command ruby SampleTestCase.rb
- 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:
The complete sample and documentation are available in the pCloudy GitHub Repository
Was this article helpful?