Hi,
I want to create a library of testcase and call these testcases on local
and remote machines.
So I make several files :
testcase01.xml
testcase02.xml
testcase03.xml
testcase04.xml
.....
A testcase can contain other testcase.
For example
testcase04.xml
--------------------------------------------------------------------------------------------
....
<stafcmd name="'sub_testcase01'">
<location>A</location>
<service>'STAX'</service>
<request>
'EXECUTE FILE testcase01.xml CLEARLOGS ENABLED WAIT'
</request>
</stafcmd>
.....
--------------------------------------------------------------------------------------------
testcase01.xml
--------------------------------------------------------------------------------------------
....
<sequence>
<testcase name="'testcase01'">
<stafcmd name="...'">
.....
<tcstatus result="'pass'">'100% complete'</tcstatus>
</testcase>
....
--------------------------------------------------------------------------------------------
The problem is that if I run the testcase04.xml, the testcase name
"testcase01" in testcase01.xml not appear in monitor.
So, is there a easy way to return the result of a "sub testcase" ?
I can parse the log with the correct job ID but maybe there is a better way
to achieve this.
I also try subjob but it doesn't help.
Another idea to make this kind of testing ?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users