RubySmith
The TestSmith Ruby API

RubySmith

Current Version: 1.4.0
Release Date: 03 September 2005



RubySmith is a Ruby language API to the TestSmith application. This API allows you to embed commands in your Ruby programs to automate actions on IE Browser DOM components and all Win2K and WinXP window objects. RubySmith is distributed free of charge.

The RubySmith directory structure is as follows:
  • \QualityForge\RubySmith
    The top-level RubySmith directory

  • \QualityForge\RubySmith\scripts
    Contains the sample scripts and supporting classes
    Note: More samples will be added in later versions

  • \QualityForge\RubySmith\lib
    Contains the rubysmith.rb source file and the tsrapi.so object file

  • \QualityForge\RubySmith\rubydoc
    Contains the rubydoc html help files

  • \QualityForge\TestSmith
    Contains the TSAPI.dll library

  • \QualityForge\TestSmith\System
    Contains the testsmith.settings file
To use RubySmith you must have the Ruby interpreter correctly installed on your system. Download it from here if needed. You will also need to update your system environment as follows:
  1. Add the full pathname of the \lib directory to the RUBYLIB environment variable (or create this variable if it does not exist). Assuming you installed to the top-level C:\ directory the path will be C:\QualityForge\RubySmith\lib

  2. Add the full pathname of the directory containing TSAPI.dll to the PATH environment variable. Assuming you installed to the top-level C:\ directory the path will be C:\QualityForge\TestSmith
For more information on Ruby visit the Ruby Central web site.

For a detailed summary of the TestSmith commands supported by RubySmith view the TestSmith Commands and TestSmith Parameters pages of the TestSmith User Guide


Important Note: the use of RubySmith is restricted to Windows Systems.

TestSmith and RubySmith © 2003-2005, Quality Forge
Contact info@qualityforge for more information.