How to Integrate TestRail with Pytest and Selenium

Ғылым және технология

Selenium testing with Python and Pytest is a common option as a test automation framework. In this tutorial, you will learn how to write your automated test scripts and run them, so they can be easily integrated with all your other testing efforts in TestRail.
In this use case, the TestRail CLI does most of the job of creating your test cases and uploading test results in TestRail. Then, you are ready to take advantage of all the analytical and reporting capabilities TestRail provides.
You will learn how to:
00:00 - Intro
00:49 - Create a Python virtual environment in PyCharm
01:26 - Install all the requirements
02:19 - Write automated tests to integrate with TestRail
05:58 - Execute your automated tests
08:05 - Install the TestRail CLI
08:29 - Send your automated tests to TestRail
10:01 - Check the automated test cases and results in TestRail
📢 Make Your Testing More Efficient with the TestRail Academy
academy.testrail.com/
Get in touch!
contact@testrail.com
Connect with us on LinkedIn
/ testrail 👈
Follow us on Facebook
/ testrailbygurock 👈
Follow us on Twitter
/ testrail 👈

Пікірлер: 7

  • @user-mt1yb9uu7y
    @user-mt1yb9uu7y9 ай бұрын

    my requirement is that I need to pass the value of the custom field in test rail to a field in the webpage. How to do that?

  • @testrail

    @testrail

    8 ай бұрын

    Hi there! Our support team can help you out with your specific use case - please reach out to them at support.testrail.com/hc/en-us/requests/new

  • @BettSwinger
    @BettSwinger11 ай бұрын

    How to add new Tests to an existing run using the cli?

  • @testrail

    @testrail

    11 ай бұрын

    Hi! You can use the run_id option to specify the run ID that should be updated.

  • @BettSwinger

    @BettSwinger

    11 ай бұрын

    @@testrail this works only when the cases in the xml file match with the cases that are already in the run. When there are new cases in the xml that aren’t in the run yet, the cli tool crashes, no cases are created and no results are added. We even tried creating a run that uses dynamic filtering, but also this doesn’t work because cases which are created via API aren’t added automatically to the run even though they match the filter criteria.

  • @Vadim2493
    @Vadim24937 ай бұрын

    How to Integrate TestRail with Behave and Selenium using python? is it possible to upload testresults and screenshot?

  • @testrail

    @testrail

    7 ай бұрын

    Hi there! Our support team can help you out with your specific use case - please reach out to them at support.testrail.com/hc/en-us/requests/new

Келесі