Sangram, You can also use PHP and post and use the system command to build up a Stax execute command and pass the parameters using the args parameter.
For example <?php system("staf local stax file ".$xml." function ".$function." ARGS\"{'parm1':'"$val1."'}\"", retval); ?> Have Fun Phil Rumble Advisory Software Engineer IBM - Tivoli - SAPM Australia Development Laboratory (ADL) prum...@au1.ibm.com / Office: +61 8 92613026 Ahmed Mostafa <eng.ahmed2...@gm ail.com> To Sangram Bakshi <san...@gmail.com> 04/03/2009 14:31 cc staf-users@lists.sourceforge.net Subject Re: [staf-users] Query to get input for stax xml file. Hi Sangram, For getting parameters from outside world to STAX, you can: 1. Use the ScriptFile or Script parameters of the STAX Execute command, this allows you to pass parameters when you are launching the STAX job. 2. Pass parameters to the main function of your STAX job, the STAX Monitor application can be used to specify these parameters in GUI. Hope this helps 2009/2/26 Sangram Bakshi <san...@gmail.com> Hi, I am trying to use STAF and STAX framework to run tests on remote machines from a machine configured as STAF manager. I plan to give user input regarding : 1. Machine name . 2 .Test case name 3 .Path to execute test case on remote machine. This i plan to give through a gui such as a web interface .This input would be taken into variables in the stax xml application, which i would use to run the testcases on inputted machine address. Kindly let me know how i can achive this . Is there any thing in the Staf and STAX framework that i can use to get input using a user interface like a web page. Regards Sangram ------------------------------------------------------------------------------ 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 -- Ahmed Mostafa Abdel-Baky Associate Software Engineer DB2 NSE Support Cairo Technology Development Center IBM Egypt Office: +202-35361459 Mobile: 0123919750 E-mail: ab...@eg.ibm.com ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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