0

I am using RIDE 1.3 using robotframework 2.8.7 running on Python 2.7.6. To execute my test I use jybot. The Jython version is Jython 2.5.3. I have an output XML generate from a previous run with failed cases. Now I need to selectively execute only the failed cases from the XML.

I have tried using the Command -R --rerunfailed [xml_path] by inserting it in the arguments tab of RIDE. But this command is unrecognised by the editor so I use -R [xml_path] instead which does not throw any errors.

Finally, when I start executing the suite I expect only the failed results from the suite to run but the entire suite runs as if the command has no effect. The suite from previous run and current run is same but the suite is large and output.xml generated is huge (~100 MB).

How can I execute only failed cases?

Shan
  • 71
  • 1
  • 10
  • 1
    Side note - you should upgrade **everything** in your environment; Robot Framework just got version 3.1 released, and 3.0 is 3 years old. Python's 2.7 is at patch version .11 for some time (and after exactly an year python2 will be EOL, in favor of 3). Staying with so old releases you risk hitting bugs fixed in the later versions, and - receiving no support from the community (I'm not saying this is the case for this situation, though; just - implying it ;) ). – Todor Minakov Dec 21 '18 at 05:59
  • 2
    Don't use both `-R` and `--rerunfailed ` simultaneously - they are synonymous, you should use one or the other. What happens when you run the command from the shell (the command line interface), not from RIDE? – Todor Minakov Dec 21 '18 at 06:01
  • @Todor I havent executed from shell. Will try doing it. Also I cannot really upgrade the environment – Shan Dec 21 '18 at 08:59
  • What is the result in shell execution? – Todor Minakov Dec 24 '18 at 07:43
  • It didn't work in shell either. – Shan Dec 26 '18 at 11:26

0 Answers0