--- title: "Validating Pull-Down Menu Options in Autify: Step-by-Step Guide | Auti" slug: "can-i-validate-the-options-in-the-pull-down" description: "Discover How to Validate Pull-Down Menu Options for Seamless Automation Testing in Autify. Begin Your 14-Day Trial Now!" updated: 2022-09-07T09:57:44Z published: 2022-09-07T09:57:44Z canonical: "help.autify.com/can-i-validate-the-options-in-the-pull-down" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # Can I validate pull-down menu options? Have you ever wanted to test pull-down menu options? - Validate the values in a pull-down menu. - Validate that a particular value exists (or does not exist) in the pull-down menu. With Autify, you can test the values in pull-down menus by using the following assertions: - Element Text Should Be - Element Should Contain - Element Should Not Contain Let's look at how to record a step that validates pull-down menu options. When recording, please be aware that when you focus on the `select` element of a pull-down menu, the assertions "Element Text Should Be" and "Element Should (Not) Contain" commands will not appear. ![focus-select](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/validate-pull-down-menu-focus-select-en.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A13%3A33Z&se=2026-11-19T22%3A13%3A33Z&sr=b&sp=r&sig=0z4mbzE2KTHElwdKoqnjCq1T0nI1YQyW%2Bsq%2BUoaGMNw%3D) To make these commands appear, focus on the parent element of the `select` element, such as `div` and `p` elements. When you focus on a `div` element, the commands "Element Text Should Be" and "Element Should (Not) Contain" will appear. Let's say we selected "Element Text Should Be." In the Value section, options within the pull-down menu appear. Select the option you wish to validate and click "Save Assertion." That's it! You now know how to test the options within a pull-down menu. ![focus-div](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/validate-pull-down-menu-focus-div-en.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A13%3A33Z&se=2026-11-19T22%3A13%3A33Z&sr=b&sp=r&sig=sOw0QmsrWmaAkbsUWclGULd45b8Be4V1wed%2By34KYQI%3D) Next, let's check whether an option does **not** exist in a pull-down menu. Here, we will select "Element Should Not Contain" in the Command section and choose an option that *does* exist in the Value section. Let's see if the test fails. ![not-exist](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/validate-pull-down-not-exist-en.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A13%3A33Z&se=2026-11-19T22%3A13%3A33Z&sr=b&sp=r&sig=pSy1NGfD2bPK5rXXz2N6wJ1%2B8hEqu9x%2FTj6an694yFg%3D) As expected, the test failed! This is because the value we selected exists within the pull-down menu. ![fail-test](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/validate-pull-down-fail-test-en.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A13%3A33Z&se=2026-11-19T22%3A13%3A33Z&sr=b&sp=r&sig=aptyV2knUaKA%2Fbi2SnBMTfBzN9J355i1QXDmrjcoMT8%3D) To sum up, you can test pull-down menu options by using the assertions "Element Text Should Be," "Element Should Contain," or "Element Should Not Contain."