0 Replies Latest reply: Jul 3, 2013 1:48 AM by meandmycode RSS

    Possible to access runtime information.

    meandmycode

      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