how to import a table for test script in description using configuration file through RQM Excel Importer?
One use case where we need to create table in description and expected result section for test script using Excel sheet, so is there any configuration code is available for creating table through RQM excel importer.
For example :- We have Test steps for Test scripts
Test Step 1 Test Step 2
1 1
2 2
3 3
So we need to show the above data in tabular format in test script description.
Please suggest on the same.
One answer
Hi Heena,
Yes, there is a syntax to support such scenario.
HTML() is used to add a table to a manual test script step. The data can be a combination of user-defined text, a cell number, and/or a column name.
For example,
testscript.steps.description=HTML("<table><tbody><tr><td>" & B & "</td><td>" & C & "</td></tr></tbody></table>")
. In this example, a HTML table is created with one row and two cells containing the content of cells in columns B and C.
For example,
testscript.steps.description=HTML(C3)
. In this example, the contents of cell C3 contains HTML content.
For more information see wiki Modifiers of data (Used to the right of the equals sign)
Thanks,
Monika Rajput