It's all about the answers!

Ask a question

How to add a section to a test script while importing testscripts from excel

Bhawna Gupta (219) | asked Aug 10 '15, 8:48 a.m.


I have been tryng to create a cfg file, which i could create.

Now i am trying to add a section to my testscript by adding a section to the default test case template. Not shure why it is not appearing in the tool when i am using it.

Any help in this will be helpful.

Donald Nong commented Aug 11 '15, 12:07 a.m.

Can you please elaborate? You talked about Excel Importer but then the "default test case template". I can't understand the relationship between them.

One answer

permanent link
Ara Masrof (3.1k15) | answered Aug 11 '15, 10:48 a.m.
 If you are trying to create a Custom Section in an Artifact dynamically using the Excel/Word uitility, the syntax for the cfg file would look something like this

Syntax for adding a custom section
testplan.Section("myns:CustomSectionOne","my custom section 1")=B9
testplan.Section("myns:CustomSectionTwo","my custom section 2")=B10

The resulting artifact will look like this

Screen shot

Your answer

Register or to post your answer.