0

i have a --rerunfailed pybot for rerunning failed cases however the final report is always being shown as report.html

i need to have a custom name instead of the report

pybot --noncritical mayFail --suitestatlevel 2 --output "report_details/reportdetail".xml --log "report_details/reportlog".html --report "testreport".html \
--argumentfile "$DIR/../../web.args" || pybot --**rerunfailed** "report_details/firstreport.xml" --noncritical mayFail --suitestatlevel 2 --output "report_details/reportrerun.xml" --log "report_details/reportlog".html --report "testreport.html" \
--argumentfile "$DIR/../../web.args" || rebot --merge "report_details/firstreport.xml" "report_details/reportrerun.xml" --name "test.html"

if i do not use (--name "test.html") or (--output "test.html") in the merge i get the report with name report.html

in the above example instead of test.html i get the following error

[error] reading xml source '--name' failed : no such file or directory

i also tried -r -> same error as previous

1
  • I think selenium tag is clearly not needed here... Commented Oct 9, 2019 at 7:31

1 Answer 1

2

When using rebot command, xml file should be the last argument. Try changing the order to this: --name "test.html" "report_details/reportrerun.xml".

In the docs it says quite clearly: Usage: rebot|jyrebot|ipyrebot [options] robot_outputs

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.