Mailing list - Entries of 2006


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] Problem with "Stop client" node


  • Subject: [qftestJUI] Problem with "Stop client" node
  • From: Jiri Kajaba <jkajaba@?.com>
  • Date: Mon, 19 Jun 2006 09:21:50 +0200

Hello,
when I worked with qftest version 1.06 everything was fine and I was happy :-). Now I use qftest version 1.08 and "Stop client" node doesn't work for me.

My use case:
1)
I have to start SUT in this weird way

----- sut starting script -----
rem setting properties for normal execution
...
rem setting additional properties for testing
set QFTEST_HOME=C:\Program Files\qfs\qftest
set QFTEST_JUI_HOME=%QFTEST_HOME%\qftestJUI-1.08.5

set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\qflib\qftest_12.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\qflib\qflib_12.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\pngencoder.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\png.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\jniwrapper.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\jython.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\gnu.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\bsfengines.jar
set CLASSPATH=%CLASSPATH%;%QFTEST_JUI_HOME%\lib\bsf.jar"

set QFTEST_PARAM_1="-Dqftest.home=%QFTEST_HOME%" "-DqftestJUI.home=%QFTEST_JUI_HOME%"
set QFTEST_START_CLASS=de.qfs.apps.qftest.start.StartClient
set QFTEST_PARAM_2=-serverhost %QFTEST_SERVER% -clientname %QFTEST_CLIENT%

rem run sut
%JRE%\bin\java %ARGUMENTS% %QFTEST_PARAM_1% %QFTEST_START_CLASS% %START_CLASS% %QFTEST_PARAM_2% %MODULES%
----- ----- -----
2)
SUT was started and connected ("Wait for client to connect" node works fine)
-> record components button is enabled (but it is not GUI application)
3)
now I need to terminate client, but "Stop client" node is unable to stop SUT
4)
if I use qftest's menu Clients -> Stop all, im able to stop SUT
5)
qftest menu after SUT start
********************
Clients -> 1. client_name ->
 Show terminal ...
 Show Jython terminal...
 Stop

qftest menu after "Stop client" call
*************************
Clients -> 1. client_name ->
 Stop

qftest menu after "Clients -> Stop all" execution
************************************
Clients -> no active client


Do you have any idea how to solve this problem. Or do you need more information? In the worst case, I can switch back to old version and never use better :-)

Thanks.

Jiri Kajaba



Videos Downloads Documentation Buy Free Trial