Questions tagged [staf]

The Software Testing Automation Framework (STAF) is an open source EPL (Eclipse Public License) project that enables users to create cross-platform, distributed software test environments

Software Testing Automation Framework (STAF) is designed around the idea of reusable components, called services (such as process invocation, resource management, logging, and monitoring.

25 questions
0
votes
1 answer

Starting STAF on boot of windows machine

Hi I have installed STAF "http://prdownloads.sourceforge.net/staf/STAF3419-setup-winamd64.exe?download" on my windows 2008 server machine. By default STAF is getting started at Logon. I want to start STAF as soon as I boot may machine. How can I…
Shashi Ranjan
  • 1,491
  • 6
  • 27
  • 52
0
votes
1 answer

How to copy a file on remote machine using PySTAF

Considering the following: from PySTAF import * import sys try: handle = STAFHandle("MyTest") request = 'COPY FILE "C:\Users\NET\2.jpg" TOFILE "C:\aa.jpg" TOMACHINE 192.168.1.139' result = handle.submit('192.168.1.139', 'FS',…
sarbo
  • 1,661
  • 6
  • 21
  • 26
0
votes
1 answer

Staf Copy on same Machine : Error registering with STAF, RC: 10

I want to copy a file from one directory to another directory. For doing this I am using staf which gets invoked in one php script, but getting below error, even if I run staf command like below [root@balveer ConfigManagement_phps]#…
Balveer Singh
  • 61
  • 1
  • 7
0
votes
1 answer

Cannot list files on windows system

This is how I run the command, via staf, but it doesn't seem to list the files and folders under C:\Program Files Even though the folder actually exists .. [root@server ~]# winPath="C:\Program Files" [root@server ~]# staf remoteServer.com PROCESS…
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
0
votes
1 answer

wmic process not working using staf

Why do I not get a proper list of processes below? staf is running on remoteVM with correct trust levels. [user@system ~]# staf remoteVM PROCESS START SHELL COMMAND "wmic process" WAIT RETURNSTDOUT STDERRTOSTDOUT Response -------- { Return Code:…
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
0
votes
1 answer

Copy file from linux to remote windows machine using staf

Assumming the following error is because the same path on local system does not exist on the remote system. Is there a way to specify an alternative path to save on remote system? [root@linuxsystem mydir]# staf local FS COPY FILE…
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
0
votes
2 answers

how to detect if FTP is working or not onremote machine?

I have 3 machines(A, B & C) connected to a Router. A,B & C are in same subnet. All these three machines are interconnected using STAF. I am using machine A as an FTP server & machine B as an FTP client. Using STAF command from machine C I am…
0
votes
1 answer

Running Python Script using STAF (Software Testing Automation Framework)

I want to run python script (test.py) using STAF using below command but getting Retrun code 1 H:\>STAF 192.168.252.81 process START SHELL COMMAND "python /opt/test/test.p " PARAMS "3344" wait returnstdout Response -------- { Return Code: 1 Key…
aloksinghk
  • 101
  • 1
  • 2
  • 7
0
votes
1 answer

Ant task hangs due to suspected permissions issue

I have a STAF job which kicks off an Ant script, all run under a functional ID. The ant script does basic 'init' tasks which work fine, and then hangs on one of the following tasks: delete, mkdir, or junit, depending on how much muddling I do in the…
Andrew R. Freed
  • 357
  • 1
  • 10
-1
votes
1 answer

Is there configuration validation tool available?

There are tools like chef/puppet are there for configuration management. we can mention the resource and the tool will make sure whether it is present or absent. This simplifies lot of things. But what i look for configuration validation. Chef and…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
2