Live Webinar: How to Select an Automation Tool in the AI Era: Hype vs Reality Register Now.
Turn your manual testers into automation experts!Request a Demo

What is Boolean Logic

Weekly Newsletter
Receive weekly testRigor newsletters packed with insights on test automation, codeless testing, and the latest advancements in AI.

Boolean Logic in the context of testRigor is a way to combine boolean conditions like "Status" contains "Success".
You can use three main operators to join these conditions:

Here are some examples:

AND operator

AND operator helps to join conditions which both must be true for the result to be true. For example, "Status" contains "Success" and "City" is equal to "Paris" will only be true when the selected row contains “Success” in column “Status” and has string “Paris” in column “City” at the same time.

OR operator

OR operator helps to find a row containing one or both conditions. For example, "Status" contains "Success" or "City" is equal to "Paris" will only be true when the selected row either contains “Success” in column “Status” or has string “Paris” in column “City” or both.

NOT operator

NOT operator helps calculate the negative of the condition. For example, not "Status" contains "Success" will only be true when the selected row does not contain “Success” in column “Status”.

Brackets ()

Brackets () help to group conditions together. For example, ("Status" contains "Success" or "Status" contains "In progress") and "City" is equal to "Paris" will only be true when the selected row contains “Success” or “In progress” in column “Status” and has string “Paris” in column “City” at the same time. In this example “Status” column must contain either “Success” or “In progress”, and column “City” must contains “Paris”.

Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.