Currently in settings section i declared test template and running 4 test cases in same suite i need to add 1 test case and pass other test templete.
Is it possible
If yes syntax please
For individual test case, the syntax is:
*** Test Cases ***
Other templated test
[Template] Other Template
data field 1 data field 2
2 Likes
Described here in the user guide:
As the example illustrates, it is possible to specify the template for an individual test case using the [Template] setting. An alternative approach is using the Test Template setting in the Setting section, in which case the template is applied for all test cases in that test case file. The [Template] setting overrides the possible template set in the Setting section, and an empty value for [Template] means that the test has no template even when Test Template is used. It is also possible to use value NONE to indicate that a test has no template.
I mostly wanted to mention the empty and NONE value, which might be of interest for you too.
2 Likes