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.
- 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
Step 1 Clone the project.
Step 2 Enter your in pCloudy_Username="Enter your Email-id" Step-9: Enter your in pCloudy_ApiKey="Enter your API Key"
Step 3 Enter your in pCloudy_ApplicationName="Enter your ipa Name which should be present in the cloud.
Step 4 Open Terminal.
Step 5 cd to the directory which contains the project.
Step 6 Run the command ruby SampleTestCase.rb
Step 7 Optional Capabilities : Can choose any one of the below:
For more details, please refer below link:https://github.com/pankyopkey/pCloudy-sample-projects