# How to create condition for test result ==passed

**URL:** <https://forum.robotframework.org/t/how-to-create-condition-for-test-result-passed/7627>\
**Category:** Robot Framework\
**Created:** [25 July 2024 18:14 UTC](https://forum.robotframework.org/t/how-to-create-condition-for-test-result-passed/7627 "2024-07-25T18:14:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![FrancisG](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/francisg/32/4247_2.png) [@FrancisG](https://forum.robotframework.org/u/FrancisG)\
**Post date:** [5 August 2024 08:21 UTC](https://forum.robotframework.org/t/how-to-create-condition-for-test-result-passed/7627/5 "2024-08-05T08:21:49Z")

</div>

For conditionally executing test cases you might be interested in [robotframework-dependencylibrary](https://forum.robotframework.org/t/unable-to-import-robotframework-appiumlibrary-even-after-successful-installation-in-pycharm/6990).

There are also some [automatic variables](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#automatic-variables) that could be useful, such as ${PREV TEST STATUS}

---

_[View the full topic](https://forum.robotframework.org/t/how-to-create-condition-for-test-result-passed/7627)._
