0 Replies Latest reply on Jul 3, 2013 6:48 AM by meandmycode

    Possible to access runtime information.




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



      DmcNode node = new DmcNode();



      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?