Get file name using configuration file
Hi,
"Along the same lines, you can access the properties of the spreadsheet that
you are working on. Examples:
requirement.dc:title=property(“Title”)
requirement.dc:creator=property("Author")
requirement.jzalm:owner=property(“Company”)
"
I tried doing this in my configuration file by doing this:
testcase.category term=property(“Title”).value="validate"
however, in the generated xml it just shows
<category term=property("Title") value="validate"/>
So I am lead to believe that it either doesn't work or this doesn't do what I hoped it would. If it is possible to get the document's name, is it also possible to get the current tab's name?
2 answers
I tried using
It results in
Is there something I'm missing here?
Comments
I did not get the last part of syntax - .value="test", could you please explain?
The .value="test" should just set the subcategory to "test". I'd like to try to set a category based on the file name and then a subcategory based on something in the sheet. That part works fine. I'm just struggling with getting the filename with property("name") or property("full name")