HOW TO! Rerun failed testcases in Robot Framework

Поділитися
Вставка
  • Опубліковано 22 сер 2023
  • This video shows how easy it is to rerun failed test cases in Robot Framework by using the rerun command or the retryfailed command as argument for the robot command.
    This video is part of my tips and tricks with 𝗥𝗼𝗯𝗼𝘁 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸, so be sure to like, subscribe and hit the notification bell so you don't miss out on any video that I post.
    Mobile automation tutorial available here:
    ➡️ • Mobile Automation With...
    My channel is dedicated to teaching Robot Framework automation to those who want to learn a simple automation framework but don't necessarily have the programming skills that other frameworks require.
    You can start from scratch and learn automation at your own pace and I will be guiding you all the way. Don't hesitate to comment on my videos if you think that there are notions or keywords you don't understand.
    I will gladly help and guide you.
    𝗧𝗵𝗲 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗶𝘀 𝗮𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲 𝗶𝗻𝘀𝗶𝗱𝗲 𝘁𝗵𝗲 𝘀𝗽𝗲𝗰𝗶𝗳𝗶𝗰 𝗽𝗹𝗮𝘆𝗹𝗶𝘀𝘁 𝗼𝗻 𝗺𝘆 𝗰𝗵𝗮𝗻𝗻𝗲𝗹, 𝘀𝗼 𝗴𝗼 𝗮𝗵𝗲𝗮𝗱 𝗮𝗻𝗱 𝗰𝗵𝗲𝗰𝗸 𝘁𝗵𝗮𝘁 𝗼𝘂𝘁 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
    ➡️ • Complete Robot Framewo...
    Send me messages about tutorials you would like to see related to Robot Framework, mobile automation or web automation and I will try to make it happen.
    🔔🔔🔔𝗗𝗼𝗻'𝘁 𝗳𝗼𝗿𝗴𝗲𝘁 𝘁𝗼 𝗹𝗶𝗸𝗲, 𝘀𝘂𝗯𝘀𝗰𝗿𝗶𝗯𝗲 𝗮𝗻𝗱 𝗵𝗶𝘁 𝘁𝗵𝗮𝘁 𝗯𝗲𝗹𝗹 𝗶𝗰𝗼𝗻!🔔🔔🔔
  • Наука та технологія

КОМЕНТАРІ • 13

  • @pankajshinde5754
    @pankajshinde5754 7 місяців тому

    This is really cool video. Thanks for sharing this.

  • @BowrempetaRahul
    @BowrempetaRahul 3 місяці тому

    how to rerun test cases in case of failure that has loading issues ? i don't want to rerun in case of code issue i need to rerun based on conditions how can it will done?

  • @abdomen3em157
    @abdomen3em157 4 місяці тому

    Thanks for this.
    Is that applicable to make these commands run in container

  • @DubeyEntertainmentUpdates
    @DubeyEntertainmentUpdates 4 місяці тому +1

    how can we start appium server and emulator to run mobile automation tests?

    • @RobotFrameworkTutorials
      @RobotFrameworkTutorials  4 місяці тому

      You have a whole playlist dedicated to mobile automation on the channel. I suggest going trough it and you will find all the needed information

  • @JohnStigterMusic
    @JohnStigterMusic Місяць тому

    Hi, I am stuck at trying to use the listener method explained @9:37. I have installed the listener using pip, but when executing the command line argument (pointing to my testsuite) I get errors like "MissingSchema: Invalid URL '': No scheme supplied". Could you help me with this?

    • @RobotFrameworkTutorials
      @RobotFrameworkTutorials  16 днів тому

      That is most likely an error from the Browser library. You might have introduced a wrong url when opening the browser.

  • @aminekacem615
    @aminekacem615 12 днів тому

    i used the --listener RetryFiled:1 but when a test fails it keeps rerunning indefinitely. I wanted to know if there is a bug or something

    • @RobotFrameworkTutorials
      @RobotFrameworkTutorials  10 днів тому +1

      Is that a typo? You wrote Filed instead of Failed

    • @aminekacem615
      @aminekacem615 10 днів тому

      @@RobotFrameworkTutorials Thank you for your answer. No it wasn't a typo, but i am including the to be continuous template in my .gitlab-ci.yml file which seems to be causing the problem. When I don't include the template the listener works fine. I wanted to know if this is a known issue.

    • @RobotFrameworkTutorials
      @RobotFrameworkTutorials  10 днів тому

      @@aminekacem615 I honestly don't know but you can always raise an issue on Robot Framework side

    • @aminekacem615
      @aminekacem615 10 днів тому

      @@RobotFrameworkTutorials
      Ok thank you