Mailing list - Entries of 2005


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

RE: [qftestJUI] problem with suite-dir running in batch mode - Windows 2000 with Interix


  • Subject: RE: [qftestJUI] problem with suite-dir running in batch mode - Windows 2000 with Interix
  • From: "Geoff Taylor" <geoff.taylor@?.com>
  • Date: Tue, 13 Sep 2005 09:55:14 -0500

Hi Gregor,

Thanks for the quick response.

Geoff

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Sent: Tuesday, September 13, 2005 8:09 AM
To: qftestJUI-list@?.de
Cc: Geoff Taylor
Subject: Re: [qftestJUI] problem with suite-dir running in batch mode -
Windows 2000 with Interix


Hi Geoff,

thanks for the log. I can reproduce the problem. Indeed, in a
procedure call node the ${qftestJUI:suite.dir} is first expanded with
'\' as file separator. Unfortunately, '\' is also the escape character
for special characters (e.g. '#') which leads to all the '\' being
removed during de-escpaing.

We'll need to take care of this somehow. For now, you can simply skip
using ${qftestJUI:suite.dir} in procedure calls because relative
paths are always resolved relative to the current suite's directory
anyway. So instead of

${qftestJUI:suite.dir}/tuan/BTN_AddFabricInvalidDNSName_2.3.2-11.qft#BTN
_AddFabricInvalidDNSName_2_3_2-11

simply call

tuan/BTN_AddFabricInvalidDNSName_2.3.2-11.qft#BTN_AddFabricInvalidDNSNam
e_2_3_2-11

Best regards,
    Greg



"Geoff Taylor" <geoff.taylor@?.com> writes:

>    Hi Gregor,
>    Thanks for responding. Attached is the qft file and the runlog.
>    Geoff
>    -----Original Message-----
>    From:   Gregor Schmid [[1]mailto:Gregor.Schmid@?.de]
>    Sent:   Mon 9/12/2005 11:59 PM
>    To:     qftestJUI-list@?.de
>    Cc:     Geoff Taylor
>    Subject:        Re: [qftestJUI] problem with suite-dir running in
>    batch mode - Windows 2000 with Interix
>    Hi Geoff,
>    I don't think the expansion of ${qftestJUI:suite.dir} itself is at
>    fault as it's based on standard java.io.File operations. Perhaps it
>    has something to do with the way you're trying to use it, but I
can't
>    tell without a closer look. Can you please send me a run-log that
>    shows the problem?
>    Best regards,
>        Greg
>    "Geoff Taylor" <geoff.taylor@?.com> writes:
>    >    Hi,
>    >    Running qftestJUI.exe on a Windows host running via the
Interix
>    >    subsystem,
>    >    the current working directory is the being used by qftestJUI
as
>    the
>    >    suite.dir, and it is missing all of the '/' dir name
separators,
>    >    seemingly because of a mismatch with what is being passed to
>    Windows
>    >    via Interix for the cwd.
>    >    I tried overriding the qftestJUI:suite.dir value via -variable
>    >    <name>=<value>, but that is being ignored as far as I can
tell.
>    >    Has anyone else any experience with running in batch mode via
>    Interix
>    >    and figured out how to get the suite dir set to the proper
>    format?
>    >    Here is the qftestJUI format I am using.
>    >    /dev/fs/C/WINNT/system32/qftestJUI.exe -batch\
>    >     -variable JavaBin=C:\/Program\
>    >
>
Files\/QLogic_Corporation\/SANsurfer_Switch_Manager\/jre\/bin\/java\
>    >     -variable JarPath="C:/Program
>    >    Files/QLogic_Corporation/SANsurfer_Switch_Manager"\
>    >     -variable JarFiles="C:/Program
>    >
>
Files/QLogic_Corporation/SANsurfer_Switch_Manager/0609_sansurfer2.jar;
>    >    C:/Program
>    >
>
Files/QLogic_Corporation/SANsurfer_Switch_Manager/qmsCommon.jar;C:/Pro
>    >    gram
>    >
>
Files/QLogic_Corporation/SANsurfer_Switch_Manager/jdom.jar;C:/Program
>    >
>
Files/QLogic_Corporation/SANsurfer_Switch_Manager/0609_ComQDevice.jar"
>    >    \
>    >     -variable
>    >
>
FabricEmulatorPath="C:/usr/local/gui_test_run/gui_autotst/fabric_emula
>    >    tor_src"\
>    >     -variable
>    >
DbApiPath="C:/usr/local/gui_test_run/gui_autotst/results_db/api"\
>    >     -variable RunStartTimestamp="2005-09-08 16:41:35.58"\
>    >     -variable HostIpAddress="192.168.0.10"\
>    >     -variable FWVersion="V5.0.0"\
>    >     -runlog "C:/usr/local/gui_test_run/SOL.qrl"\
>    >     -report.html "C:/usr/local/gui_test_run/SOL.html"\
>    >
>
C:/usr/local/gui_test_run/gui_autotst/SANsurfer_Switch_Manager/main.q
>    >    ft
>    >    Geoff
>    > _______________________________________________
>    > qftestJUI-list mailing list
>    > qftestJUI-list@?.de
>    > [2]http://www.qfs.de/mailman/listinfo/qftestjui-list
>    --
>    Gregor Schmid                                Gregor.Schmid@?.de
>    Quality First Software GmbH
[3]http://www.qfs.de
>    Tulpenstr. 41                                Tel: +49 8171 919870
>    DE-82538 Geretsried                          Fax: +49 8171 919876
>
> References
>
>    1. mailto:Gregor.Schmid@?.de
>    2. http://www.qfs.de/mailman/listinfo/qftestjui-list
>    3. http://www.qfs.de/
>
>

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876




Videos Downloads Documentation Buy Free Trial