0 Replies Latest reply: Oct 19, 2012 1:17 PM by 878316 RSS

    How to Map XML Summary comments/tags from OpenScript into OTM through Java

    878316
      Hi,

      I would like to know if there is a possibility of copying the XML Summary comments/tags of a test case method in Openscript as test action and expected results of a test case in OTM

      The goal/reason is have to all the test case steps/actions and expected results and the corresponding automation code at one place so that maintenance is easy.


      Something like a testcase method below from openscript

      <Summary>
      <testproperties>
      <testcaseTiltle =" Automation of Expense Bill ">
      </testcaseTitle>
      <testcaseId>
      </testcaseId>
      <testAction>
      Click Menu -> Main Menu -> Expense
      </test action>
      <expectedResult>
      Expense form should be opened successfully
      </expectedResult>
      <testAction>
      Enter the Expense Amount and Date
      Click Save
      </testAction>
      <expectedResult>
      Expense for a given date should be submitted successfully
      </expectedResult>
      </testproperties>
      </Summary>


      {{@TestCaseMethod}}
      public void submitExpense()
      {
      ....... automation code......
      }