Please refer to 
http://staf.sourceforge.net/current/STAFUG.htm#HDRTRUSTCFG for
information regarding trust levels.

 

Regards,

Sairam

  

________________________________

From: Vinay R [mailto:vinay.ravishan...@gmail.com] 
Sent: Wednesday, February 25, 2009 11:40 AM
To: Sharon Lucas
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] STAF support with Winrunner

 

Hi,

 

Could you people please advice on the aspect of configuring the TRUST
level of a machine as to how to do it? Or just point me to the right
place in the user guide wherein I could look for the information?

 

Thanks,

Vinay

On Mon, Feb 23, 2009 at 2:27 AM, Sharon Lucas <luc...@us.ibm.com> wrote:


You'll want to use STAF's PROCESS service, its START request, to run
your Winrunner scripts on remote machines.  So, I recommend that you
read section "8.12 Process Service", particularly subsection "8.12.2
Start" in the STAF User's Guide at "
http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV. 

You first need to determine the command that you would run from a
command prompt (without STAF) to run your Winrunner script locally on
your machine (without user interaction).  Once you know what command you
need to run and have tested that out, you can use the STAF PROCESS START
request to run that command locally or on a remote machine that's also
running STAF and has given STAF trust level 5 to the machine submitting
the PROCESS START request.  You'll probably want to first submit the
PROCESS START request via the command line using the STAF executable.
For example: 

C:\>STAF machine PROCESS START SHELL COMMAND "Your winrunner command"
RETURNSTDOUT STDERRTOSTDOUT WAIT 

There are additional options for a PROCESS START request you may want to
use such as WORKDIR (if you the command to be run with a particular
working directory).  Remember that the command is being run in the
environment in which STAFProc was started on the remote machine you
specify.  If you need any additional environment variables set, you can
use the ENV option(s) on your PROCESS START request. 

Once you have the PROCESS START request working using the STAF
executable from a command prompt, you can submit the PROCESS START
request via a program (e.g. Java, C++, Perl, Python, Tcl, or a STAX job)
if you'd like. 

Note that if you want to copy your Winrunner script to your remote
machine, you can use the STAF FS (File System) service's COPY request to
do this before submitting the PROCESS START reuqest.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Vinay R <vinay.ravishan...@gmail.com> 

02/22/2009 07:22 AM 

To

staf-users@lists.sourceforge.net 

cc

 

Subject

[staf-users] STAF support with Winrunner

 

 

 





Hi Folks,

We have a set of 6 machines which need to be intergrated in a framework
for running regression we use Winrunner as the automation tool for our
testing. Could you experts please provide tips as to how to launch
Winrunner scripts in remote machines using STAF. I have installed STAF
in  all machines, and this is the first time we are using it. Though the
user guide speaks about this, but it would be greatly time saving if you
people could pin point us to the correct procedure.

Looking forward to interacting with you folks a lot more.

Thanks,

Vinay-------------------------------------------------------------------
-----------
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H____________________________________________
___
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

 

<<image002.jpg>>

BEGIN:VCARD
VERSION:2.1
N:Sairam-B22305;Purandhar;;Mr.
FN:'Purandhar Sairam-B22305'
ORG:Freescale Semiconductor;UCM
TITLE:Software Engineer
TEL;WORK;VOICE:+914023358927 
TEL;HOME;VOICE:+914027243556 
TEL;CELL;VOICE:+919963333929 
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Intoto Software (I) Pvt Ltd,=0D=0A4th floor, Uma Plaza, NagarjunaHills,Pun=
jagutta;Hyderabad;Andhra Pradesh;500082;India
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Intoto Software (I) Pvt Ltd,=0D=0A4th floor, Uma Plaza, NagarjunaHills,Punja=
gutta=0D=0AHyderabad, Andhra Pradesh 500082=0D=0AIndia
ADR;HOME:;;H.No. 24-138/8, Behind old Anandbagh Post Office, Anandbagh, Malkajgiri;Hyderabad;Andhra Pradesh;500047;India
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:H.No. 24-138/8, Behind old Anandbagh Post Office, Anandbagh, Malkajgiri=0D=
=0AHyderabad, Andhra Pradesh 500047=0D=0AIndia
EMAIL;PREF;INTERNET:sairam...@freescale.com
REV:20081125T090756Z
END:VCARD
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to