This discussion is archived
0 Replies Latest reply: Jul 2, 2013 11:48 PM by meandmycode RSS

Possible to access runtime information.

meandmycode Newbie
Currently Being Moderated

Hi,

 

We want to be able to write a testcase that looks like:

 

@DmcNodeConfigured

DmcNode node = new DmcNode();

node.installSoftware();

 

The problem that I am facing is that we have a test-plant that has a number of DmcNodes. Not all of them has the needed configuration or is in the state "ready to install". So the idea is to add an Annotation that checks if any of the test-plant nodes fulfill the requirements ( this is something that you don't know until you run the testcase).  The problem I am facing is how to take the run-time information and put it into the testcase code context. I need "node" to be a node that full-fill the requirements. Anyone faced a similar problem?

 

br,

 

//mike

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points