Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all articles
Browse latest Browse all 3432

create a "default" test result using trigger

$
0
0

Hi all,

 

Here the scenario:

 

 

All tests are performed manually using the Test Result Editor, there is no automation framework involved.

 

All our Test sessions are related to a "Device Description" Item that holds the detailed Hardware and Software Setup Information of the tested device used in the Session (where a "device" is one specific combination of several electronic units each with individual Hard and Software).

 

Our test case items contain an optional field "required environment" that basically holds information on what electronic unit(s) must be part of the tested device, so that the testcase is applicable.

 

The test cases are organized in TestSuite Documents e.g. based on function groups.

 

To increase productivity for the Test engineers I would like to have a "default" test result (verdict = NA -not applicable) created automatically for every test case in a session where the "required environment" of the testcase is defined and the values do not match the values defined in the session's "Device Description".

 

To keep a long story short: "If it cannot be tested, mark it as NA"

 

My Idea was to write a trigger script that is fired when the session changed it's state to "in Testing"

 

I how to iterate the test cases using "walkHierarchy" from the ScriptIssueBean,

 

but what would be the best way to create the test results?

 

Thanx for all replys


Viewing all articles
Browse latest Browse all 3432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>