
Set up the Ruby environment by installing Ruby, Java, and Eclipse prerequisites, install the Ruby plugin for Eclipse, configure the path, and verify Ruby in the command prompt.
Learn to install Java JDK, download and install eclipse, and add the ruby plugin to eclipse, then configure the ruby interpreter to run ruby code within the IDE.
Set up ruby development in eclipse, configure the ruby interpreter, create a ruby project and script, and run console output with print and puts, including ruby comments.
Explore Ruby gems as libraries in Ruby, learn to install, download, and list gems using commands like gem install and gem list, with cucumber as an example.
Learn ruby programming by writing in Notepad, saving as a .rb file, and running it from the command prompt; use print for same-line output and puts for a new line.
Open the Ruby interactive environment from the command prompt, write and execute one-line Ruby expressions, print data to the console, perform calculations, and exit the interactive session.
Explore how Ruby BEGIN and END blocks run code at the start and end of program execution, with constructor/destructor analogies and placement rules.
learn how to define a Ruby class as a container for constructors, methods, variables, and constraints, name it with a capital letter, and access its members by creating an object.
Explore methods in Ruby by defining reusable code blocks with def and end, passing arguments, returning values, and calling methods on objects to perform calculations.
Explore how constructors initialize objects in Ruby, automatically running code on object creation with def initialize, handling arguments, and guiding subsequent method calls.
Explore condition handling with if-else logic to determine even or odd numbers and to display negative, zero, or positive results, using remainder checks and comparison operators.
Explore condition handling with logical or and logical and to implement a grading system. Validate numbers and assign grades using precise range checks and if-else logic.
Master for loops in Ruby by printing a table from a range and using double dot syntax to include or exclude the last value, demonstrated in Eclipse.
Explore Ruby arrays to hold multiple data, create arrays and define their size, insert and update elements, and access values by index using direct square-bracket assignment or array initialization.
learn how to use the for each loop to iterate over an array, print each value, and control the number of iterations based on the array size.
Create and manipulate a hash by defining a new hash, inserting key-value pairs, accessing values by key, checking length, and updating entries.
Explore string handling in Ruby by creating strings with literals and the String class, then manipulate cases, length, stripping spaces, reversing, and concatenation.
Learn how local variables in Ruby are defined inside a method and usable only there; they start with a lowercase letter or underscore.
Explore class variables, which are shared by all objects of a class and can be accessed by any instance, similar to static in Java, enabling cross-instance value sharing.
Explore how instance variables belong to one object, are accessible in its class, and work with a display method to show a sum from values like 100 and 200.
Learn to handle Ruby exceptions with begin and rescue, using rescue blocks for specific error types, and ensure the rest of the code runs after an exception is caught.
Explore how Ruby modules encapsulate executable code, define module methods, and host classes inside a module. Learn how to include modules and call these methods from scripts.
Explore inheritance in ruby by transferring properties from a superclass to a subclass, and calling parent methods from the subclass. Learn single and multi-level inheritance and constructor behavior.
Explore method overriding in inheritance, where a child class with the same name and signature can override the parent's behavior.
Learn how to read data from a file by opening it in read-only mode, reading each line until end of file, and displaying content; understand write, overwrite, and append options.
Learn how to write data to a text file by opening in write mode to overwrite or create, and use append mode to add without overwriting, then close the file.
Read data from an excel file using the spreadsheet gem in Ruby to extract row and column values by opening the workbook and reading the first two columns.
Learn how to create a workbook and worksheet, write data to specific row and column cells, and save an Excel file using a simple workflow.
Explore test driven development by writing tests before coding, using best guesses for the model, then implementing code to pass those tests and iterating until all tests pass.
Define behavior in plain English with stakeholders; map features to step definitions and code to satisfy expected behavior, focusing on acceptance testing.
Compare bdd and tdd by contrasting unit tests for each function with high-level acceptance tests defined by stakeholders as the behavior expectations for the application.
Learn cucumber basics for behavior driven development, and how it integrates with ruby and tools like selenium or calabash to write feature and step-definition files in Gherkin for acceptance tests.
Explore behavior-driven development with feature files in Gherkin, using keywords like feature, scenario, given, when, then, background, and examples to structure Cucumber tests.
Learn to define scenarios in a feature file using the scenario keyword, where a feature hosts multiple acceptance tests such as login by customer, guest, or admin.
Explore Gherkin keyword usage with given, when, then and other keywords to define features, scenarios, and test steps, including opening a browser and validating login pages.
Demonstrates how when and then steps describe actions and outcomes in a feature file, including multiple when steps, then expectations, and guest login flows.
Learn how the background keyword consolidates common given steps before all scenarios in Calabash and Cucumber, reducing repetition.
Learn to use step arguments in cucumber-style tests with calabash by passing data from feature files to step definitions, defining arguments in double quotes for username and password during login.
Demonstrates data-driven testing with cucumber's scenario outline and examples, using a login scenario that iterates through multiple username and password pairs via a tabular data table.
Learn to install the Cucumber gem in a Ruby environment, verify installation with gem list, and see a practical demonstration of managing gems for mobile application automation.
Learn how step definitions connect feature file steps written in simple english to scripts that perform acceptance test steps in calabash, ruby, and cucumber.
Set up a Cucumber project structure, create a login feature with a single scenario, and define Ruby step definitions to map each step to code for the login flow.
Learn to pass data from a feature file into Cucumber step definitions, using double-quoted values and pipes, and print inputs during test execution.
Learn how hooks run code at key points in the Cucumber lifecycle, using before and after blocks for scenarios or all tests, placed in the support folder.
Learn to implement a before hook in Cucumber using Ruby in the support folder to run tasks before each scenario, with console output examples.
Learn to implement cucumber before and after hooks in Calabash Ruby by creating a hooks file in the support folder and applying them to multiple scenarios.
Learn to run Cucumber tagged scenarios in Calabash with Ruby, executing only scenarios marked with a high or low priority tag and applying before and after hooks to that scenario.
Explore tagged hooks in Cucumber and learn how before and after hooks control scenario execution, including running specific scenarios from the command prompt.
Explore multiple tagged hooks using logical and to set high priority and exclude conditions, so you execute only the scenarios that match the specified tags.
Learn to install android development tools (adt) on eclipse, including prerequisites, via eclipse marketplace, restart eclipse, and verify installation with the android sdk manager.
Learn how to install and configure the Android SDK, including using the SDK Manager to install platform-tools and build-tools, and selecting Android API levels 5 and 6.
Configure the Android SDK in Eclipse by setting the SDK location and installing libraries, then define Android home and platform-tools environment variables to enable mobile automation testing.
Install and launch droid at on Windows by downloading the jar file, running it with Java, and starting the session to view devices on screen.
Install calabash-android by installing the Ruby dev kit, configuring the Ruby path, and running gem installs to set up calabash and cucumber for Android testing.
Discover how adb, a command-line tool, connects your development machine to real devices or emulators via a client-server architecture, with a daemon on the device handling commands.
Learn how to use ADB commands to manage devices, check connections, start and kill the adb server, install apps, and target specific devices or emulators.
Calabash helps automate and test any iOS or Android app, native or hybrid, from the UI level down. Xamarin provides both the automation framework as well as the device cloud, so you can enjoy perfect integration and continuous improvements to Calabash in response to customer needs.
With Xamarin Test Cloud, you can select devices based on form factor, manufacturer, operating system, or even popularity in your target market. We’re adding over 100 devices every month, and if there’s a specific device you need, we’re taking requests.
While Calabash is completely free, Xamarin, the company that developed and maintains Calabash, provides a number of commercial products and services centered around Calabash and quality assurance for mobile.
Xamarin Test Cloud is a cloud-based mobile testing lab which lets you execute Calabash tests on over 1,000 real mobile devices in the cloud.