What to do when opening roboframework to report Opening Robot Framework report failed error in jenkins
This article mainly introduces how to open the roboframework report Opening Robot Framework report failed error in jenkins, the article is very detailed, has a certain reference value, interested friends must read it!
Opening Robot Framework report failed
Verify that you have JavaScript enabled in your browser.
Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.
Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
Solution 1:
First of all, run the html file alert ("I play") with this code in the browser. If you can play, it means that the problem is not that the browser supports JS.
Alert ('I play')
% s
If it is not a problem with the browser, resolve it as follows:
Reference: http://stackoverflow.com/questions/36607394/error-opening-robot-framework-log-failed
Enter the following script at the manage jenkins-- > script command line:
System.setProperty ("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-scripts; default-src 'none'; img-src' self' data:; style-src 'self'' unsafe-inline' data:; script-src 'self'' unsafe-inline' 'unsafe-eval';")
Running result
Then click the test report or output file you want to open, OK.
Note: after configuration, it is best to restart jenkins and clear the browser cache
The above is all the contents of the article "how to report Opening Robot Framework report failed errors when opening roboframework in jenkins". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!