Go Beyond Record and Play
With MarathonITE, you can create automated tests for your applications. MarathonITE scripts are Ruby scripts. MarathonITE uses JRuby a ruby runtime implemented on Java Virtual Machine. The power of Ruby language gives your scripts great flexibility. You can go beyond the regular record and playback functions.
Use Ruby Language
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. MarathonITE scripts are normal JRuby scripts with added methods. You can use all the ruby language constructs in the test scripts to improve the flexibility and power of your scripts.
Accessing External Systems
You can use RubyGem package manager to install any Gem supported by JRuby into the MarathonITE runtime. Once installed you can access it from the test scripts. There are various Gems for accessing external systems like databases, web services and also 3rd party libraries that you may find useful in your testing projects.
Gems are packaged Ruby files that you can add to your MarathonITE project. They allow you to make use of various functions. Each Gem is self contained. Gems contain all the ruby scripts and resources required to implement the functionality.
Gems are very useful because you don’t need to reinvent the wheel. Various available gems are available from rubygems.org.
When you identify a gem to use, use the gem command to install the gem in to your runtime.
MarathonITE enables access to WebDriver bindings to your scripts for Java testing. When you access a component in MarathonITE using
get_component, the object you receive is a
WebElement. You can perform any of the standard WebDriver operations on this WebElement.
You can use any Selenium/WebDriver calls and intersperse them with MarathonITE calls. This provides your scripts the power and flexibility for implementing complex scenarios.
You can learn more about the Java/Swing™ and Java/FX™ webdriver bindings in MarathonITE Documentation.