> For the complete documentation index, see [llms.txt](https://docs.qatts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qatts.com/studio/ui-elements/check_box.md).

# check\_box

A checkbox is a small, usually square or rectangular box with a clear area in the middle.

The checkbox is used to indicate that an item is selected. It can be used to select one or more items from a list, and they can be either checked or unchecked.

Checkboxes are often used in online forms to allow people to choose which items they want included in the form submission.

## Automation

When automating a checkbox. we need to think and decide what should be the final status of our checkbox. Because, some checkboxes might come selected at the time of loading the web page. To address this QATTS has a logical mechanism to give the desired result.&#x20;

Let's understand the inputs for a check box

#### Pre-Requisite : Saving a UI element and Using in the design !!!

A true / false value should always be provided in the test data.

**TRUE** : If we want the checkbox to be in selected state. Ignores if already in selected state

**FALSE** : If we want the checkbox to be in de-selected state. Ignores if already in de-selected state

Note : If there was no value provided in the test data. No action will be performed

Let's see some questions from automation communities.  [Trouble Shoot](/studio/ui-elements/text_box/trouble-shoot.md)

How to configure the advanced options. [Properties Library](/studio/ui-elements/text_box/properties-library.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.qatts.com/studio/ui-elements/check_box.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
