Mailing list - Entries of 2006


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

[qftestJUI] 'Test call' node when the name of the test/test-suite is defined in a properties group.


  • Subject: [qftestJUI] 'Test call' node when the name of the test/test-suite is defined in a properties group.
  • From: "Adrian Chamberlain" <Adrian.Chamberlain@?.com>
  • Date: Wed, 18 Oct 2006 16:03:46 +0100

Adrian Chamberlain
Ericsson Communications
Beeston
Nottingham
UK

Reference using the 'Test call' node to call a test, when the name of that
test/test-suite file is defined in a properties group (i.e. dynamic test
name for the 'Test call' node).

For instance :-

- We have a core test-suite file named 'MV38Testing.qft'

- We have a properties group named ${system:user.name}.  Hence, if the
user-name were 'nmcman' then there will be a properties file named
'nmcman.properties'.

- Within this properties group is defined 'MyTest-suite'
    i.e. MyTest-suite=MV38Benchmark.qft

- From 'MV38Testing.qft' I wish to call a test within the test-suite, the
filename for which is defined by

    ${${system:user.name}:MyTest-suite}

i.e. 'Test call' <name of test=?> <name of test-suite
file=${${system:user.name}:MyTest-suite}>

Can this be done (i.e. using the Run-context API) and if so what would be
the correct API call/format ?

Thank you in advance for your help
Regards
Adrian





Videos Downloads Documentation Buy Free Trial