Passing arguments to AutoGUI runtime [message #83293] |
Tue, 12 September 2006 20:52 |
Eclipse User |
|
|
|
Originally posted by: stephanl.us.ibm.com
Greetings,
I need AutoGUI scripts to enter values that are known only at invocation
time, i.e. in one execution I need a textfield populated with the value
'foo', in another with the value 'bar'. Can't use a datapool since -
although the number of possible values is finite - I need only one value
entered for a given execution of a script. The particular value, however,
is not known until invocation time. Akin to passing arguments to an ant
script from the command line. Now, in the doc I see there is the notion
of using variables in a macro:
%VARIABLE_NAME%
Where are the values for variables referenced in the macro defined? Can
they be passed when invoking TPTP to execute a AutoGUI script?
If no, is there a preferred mechanism to pass variables used by the
runtime? FWIW, I am invoking a given test suite through ant from the
command line using the following task:
<tptp:test
workspace="${scs.root.dir}\dev-ws"
project="com.webify.wsf.studio.test"
suite="test-suites/${scs.test.suite}"
synchronicity="synchronous"
vmargs="-Dagr.exe.ws=${scs.root.dir}\exe-ws"
/>
and ideally would like to pass any arguments to the script through this
task.
Any insight would be greatly appreciated.
Thanks!
- Stephan
|
|
|
Re: Passing arguments to AutoGUI runtime [message #83346 is a reply to message #83293] |
Tue, 12 September 2006 21:45 |
No real name Messages: 404 Registered: July 2009 |
Senior Member |
|
|
Currently there is no mechanism for the user to link user input with a
variable that is set during runtime. I have opened the following defect to
see if I can provide this functionality in the 4.3-time frame, which ends by
next week:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157109
Thanks,
Ali Mehregani
"Stephan Lips" <stephanl@us.ibm.com> wrote in message
news:c3e08fbd2a1caf3601e02159ceeb122e$1@www.eclipse.org...
> Greetings,
> I need AutoGUI scripts to enter values that are known only at invocation
> time, i.e. in one execution I need a textfield populated with the value
> 'foo', in another with the value 'bar'. Can't use a datapool since -
> although the number of possible values is finite - I need only one value
> entered for a given execution of a script. The particular value, however,
> is not known until invocation time. Akin to passing arguments to an ant
> script from the command line. Now, in the doc I see there is the notion
> of using variables in a macro:
> %VARIABLE_NAME%
> Where are the values for variables referenced in the macro defined? Can
> they be passed when invoking TPTP to execute a AutoGUI script?
>
> If no, is there a preferred mechanism to pass variables used by the
> runtime? FWIW, I am invoking a given test suite through ant from the
> command line using the following task:
>
> <tptp:test
> workspace="${scs.root.dir}\dev-ws"
> project="com.webify.wsf.studio.test"
> suite="test-suites/${scs.test.suite}"
> synchronicity="synchronous"
> vmargs="-Dagr.exe.ws=${scs.root.dir}\exe-ws"
> />
>
> and ideally would like to pass any arguments to the script through this
> task.
>
> Any insight would be greatly appreciated.
>
> Thanks!
>
> - Stephan
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03535 seconds