We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We tried to attach some additional information to the scenarioresult to be printed in the html-report using code like this:
@After public void after(ScenarioResult res) { res.write("myText"); }
There we've had two different problems. Firstly the code above is rendered into the following js-code
formatter.write(myText);
This code produces the following errormessage Uncaught ReferenceError: myText is not defined
Uncaught ReferenceError: myText is not defined
When we add the quotes ourselves in the javacode
@After public void after(ScenarioResult res) { res.write("\"myText\""); }
The following js-code is js-code is produced
formatter.write("myText");
Unfortunately this results in Uncaught TypeError: Object [object Object] has no method 'write'
Uncaught TypeError: Object [object Object] has no method 'write'
greets Klaus
The text was updated successfully, but these errors were encountered:
113df9e
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
We tried to attach some additional information to the scenarioresult to be printed in the html-report using code like this:
There we've had two different problems. Firstly the code above is rendered into the following js-code
This code produces the following errormessage
Uncaught ReferenceError: myText is not defined
When we add the quotes ourselves in the javacode
The following js-code is js-code is produced
Unfortunately this results in
Uncaught TypeError: Object [object Object] has no method 'write'
greets Klaus
The text was updated successfully, but these errors were encountered: