| || |
Export sheet of an existing action
I have a call to an existing action in my test. This action should export the local sheet. If I run the action in the defining test, it works. But if I called this reusable action in another test I get an error: "... sheet does not exist." Maybe some pieces of code:
<font class="small">Code:</font><hr /><pre>table = DataTable.LocalSheet.Name
qsPath = "C:\"
resultFile = "testberichte.xls"
projectPath = qsPath & resultFile
DataTable.ExportSheet projectPath, table</pre><hr />
Where i have defined the action, the name of the sheet in the test is "saveTestReport"
Where I have called the existing action, the name of the sheet in the test is "saveTestReport [testSaveReport]"
Can somebody help me?
Re: Export sheet of an existing action
Try using this