Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2016 up to now | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007


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

Re: [QF-Test] To retrieve OS info...


  • Subject: Re: [QF-Test] To retrieve OS info...
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 07 Oct 2007 20:14:44 +0200

Hi,

please see manual section 8.4 about special variables.

The OS name is available via ${system:os.name}. For testing whether
you are running on Windows or not, ${qftest:windows} is a convenient
shortcut.

brg

"Laxminarayana B" <Laxminarayana.B@?.com> writes:

>    Hi is there any specific code in QF-Test to get the Operating system
>    that we are working on. My need is
>
>
>    If Operating System == Windows then
>
>    {
>
>    Execute these statements
>
>    }
>
>    Else if Operating System == Linux then
>
>    {
>
>    Execute these statements
>
>    }
>
>    End if
>
>
>
>    Regards,
>
>    LN

--
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
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833



Videos Downloads Documentation Buy Free Trial