1.

Explain how to instantiate testcases with Excel.

Answer»

When you instantiate a template, you CONVERT a single testcase template into several test cases using the test DATA that you supply as input to the template. You MUST follow the STEPS below to instantiate TestCases in Excel: 

  • The TestCase that is needed to be instantiated must be viewed as a template.
  • Parameters (values to be transferred from a template) must be linked to template attributes by specified syntax.
  • To create a TemplateInstance, right-click on the TestCase template and select Create TemplateInstance from the context menu.
  • You must specify the Excel file with the corresponding spreadsheet in the subsequent dialog box.
  • Click the OK button to confirm your inputs.
  • Once you click Yes in the subsequent dialog, the INSTANTIATION process will begin.

In this way, Tosca creates a TestCase in the TemplateInstance for every TestCase defined in the template. The structure of the TestCase is the same as that of the corresponding TestCase in the template. 



Discussion

No Comment Found