We don't provide STAF support for Ruby. However, a STAF user provided a patch for Ruby:
http://sourceforge.net/tracker/index.php?func=detail&aid=643842&group_id=33142&atid=407383 "Ruby/STAF interface" Note, however, that I have not tried to use this patch. Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com Li Wiston <wiston.l...@gmail.com> 07/03/2009 09:09 AM To David Bender/Austin/i...@ibmus cc bruce.ai...@rsa.com, staf-users@lists.sourceforge.net Subject Re: [staf-users] Best practice automation approach using Staf/Stax? Hi folks I always develop the TA script using Ruby, are there the Interface or STAF supports for Ruby language in order to submit the staf/stax request to execution? thanks in advance 2009/6/6 David Bender <bda...@us.ibm.com> Yes, you can submit STAX jobs programatically from any language that STAF supports (i.e. Java., Python, Perl, TCL, shell scripts, ...). There is no requirement to use the STAX Monitor, and there are STAX users that do not use the STAX Monitor at all. The overal recommendation is to use STAX as the execution engine for your automation steps. So you would have a STAX job that executes the various 7 steps in your automation (using the other tools/services that you mentioned). David Bender STAF/STAX Development (512-286-5315) IBM Austin Bldg. 903-5B002 Internet: bda...@us.ibm.com <bruce.ai...@rsa.com> 06/05/2009 03:18 PM To <staf-users@lists.sourceforge.net> cc Subject [staf-users] Best practice automation approach using Staf/Stax? Hi, I developed and executed XML for Staf/Stax to be run from the Stax monitor and command line successfully . But can I execute a Staf/Stax programmatically such as using Stafs method submit() to tell Staf to execute a Stax XML similar to how other calls are made? I want to run Stax XML service but do not want to run the Stax monitor. Do people use it this way? The plan is to use active python that registers itself directly with Staf to drive and automate a process from install of my AUT, testing of it and reporting results. Using Stax may simplify the process. Is it more of a trade off of either writing more Python Staf scripting or writing more Staf/Stax XML? Here is the plan 1.Using HPQualityCenter, I'm launching python test scripts that I have registering with STAF(giving me control of remote machine of various supported platforms) 2.To use Staf/FTP to grab the latest kit to a remote machine 3.To use Staf/Process to install the AUT on a remote machine 4.Use Staf/Stax XML to run the test against the AUT on a remote machine 5.Get the results 6.Clean Up 7.Done. Is breaking it up into different pieces as listed above 1-7 Ok or is it best practice to write everything in Staf/Stax XML and just launch a command line to run it Thanks ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users