I am trying to convert Business Test case which consists of noramal test cases into a Business Template Test Case. How the data parametrization should be implemented in this scenario. Say for example, In Demo webshop scenario I have normal test cases for Login Process , Checkout Process, Payment Method Selection, Order Confirmation. All these are normal individual test cases. I combine these into Business Test Case and convert to Business Template. Now How to link Test Sheet or Exce Data Source and pass the Payment Method as Credit Card, Money Order, Purchase Order, Cash On Delivery from Business Test Case Template to child test case Payment Method Selection and create 4 different instances for Credit Card, Mondey Order, Purchase Order and Cash On Delivery. When I searched for the solution in ChatGPT [since I could not information from any other source like KB Article, Google], it has recommened this solution.Â
Â
-
Expand your BTCT (Order Placement in Demowebshop).
-
You should see a child folder called TemplateAttributes (if not, you can right-click the BTCT and add one manually).
-
-
Right-click TemplateAttributes → Create → Template Attribute.
-
Example:
PaymentMethod.
-
-
In the normal child TestCase (e.g., “Choose Payment Methods and Continue”), replace the value
Credit Cardwith a binding reference:Â
{BTCT.PaymentMethod}
But, I dont see any option as such to create Template Attribute in Business Test Case Template.Â
Â
Kindly explain or share if any KB article available relevant to this topic. Thank you in Advance.