1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[5908],{10374:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>d,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-not-checked","title":"[WebUI] Is Element Not Checked","description":"Check whether the element is not checked within a specified timeout.","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-not-checked.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/web-ui-keywords","slug":"/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-not-checked","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-not-checked","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1787733402000,"frontMatter":{"title":"[WebUI] Is Element Not Checked","description":"Check whether the element is not checked within a specified timeout."},"sidebar":"katalon-studio","previous":{"title":"[WebUI] Is Element In Viewport","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-in-viewport"},"next":{"title":"[WebUI] Is Element Not Clickable","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-is-element-not-clickable"}}');var s=n(74848),r=n(28453);const d={title:"[WebUI] Is Element Not Checked",description:"Check whether the element is not checked within a specified timeout."},o=void 0,l={},c=[{value:"Description",id:"description",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Examples",id:"examples",level:2}];function a(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{title:"Prerequisites",type:"caution",children:(0,s.jsxs)(t.p,{children:["This keyword is available from Katalon Studio version ",(0,s.jsx)(t.strong,{children:"11.2.0+"}),"."]})}),"\n",(0,s.jsx)(t.h2,{id:"description",children:"Description"}),"\n",(0,s.jsx)(t.p,{children:"Check whether the found element is not selected or checked within a specified timeout."}),"\n",(0,s.jsxs)(t.p,{children:["Keyword name: ",(0,s.jsx)(t.code,{children:"isElementNotChecked"})]}),"\n",(0,s.jsxs)(t.p,{children:["A condition that is not satisfied normally returns ",(0,s.jsx)(t.code,{children:"false"})," and does not fail the test step. Unexpected execution errors apply the configured failure handling. If execution continues after an error, the keyword returns ",(0,s.jsx)(t.code,{children:"false"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["The element must be found before its negative state is evaluated. A missing element returns ",(0,s.jsx)(t.code,{children:"false"}),". Use ",(0,s.jsx)(t.code,{children:"WebUI.isElementNotPresent"})," to check whether an element is absent."]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Parameter"}),(0,s.jsx)(t.th,{children:"Parameter Type"}),(0,s.jsx)(t.th,{children:"Required"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"to"})}),(0,s.jsx)(t.td,{children:"TestObject"}),(0,s.jsx)(t.td,{children:"Yes"}),(0,s.jsx)(t.td,{children:"Represents the web element to evaluate."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"timeOut"})}),(0,s.jsx)(t.td,{children:"int"}),(0,s.jsx)(t.td,{children:"Yes"}),(0,s.jsx)(t.td,{children:"Specifies the maximum time, in seconds, to wait for the condition. A negative value uses the configured WebUI element timeout."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:(0,s.jsx)(t.code,{children:"flowControl"})}),(0,s.jsx)(t.td,{children:"FailureHandling"}),(0,s.jsx)(t.td,{children:"No"}),(0,s.jsxs)(t.td,{children:["Specifies the ",(0,s.jsx)(t.a,{href:"/katalon-studio/maintain-tests/configure-failure-handling-settings-in-katalon-studio",children:"failure handling"})," behavior for execution failures. When omitted, this parameter uses the project default failure handling."]})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Return Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"boolean"}),(0,s.jsxs)(t.td,{children:["Returns ",(0,s.jsx)(t.code,{children:"true"})," when the found element is not selected or checked; otherwise, returns ",(0,s.jsx)(t.code,{children:"false"}),"."]})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"examples",children:"Examples"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-jsx",children:"boolean result = WebUI.isElementNotChecked(findTestObject('Page_Main/element'), 10)\n\nboolean handledResult = WebUI.isElementNotChecked(findTestObject('Page_Main/element'), 10, FailureHandling.CONTINUE_ON_FAILURE)\n"})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>d,x:()=>o});var i=n(96540);const s={},r=i.createContext(s);function d(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.