1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[2286],{28453:(e,t,a)=>{a.d(t,{R:()=>o,x:()=>r});var s=a(96540);const d={},n=s.createContext(d);function o(e){const t=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:o(e.components),s.createElement(n.Provider,{value:t},e.children)}},51978:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>s,toc:()=>_});const s=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-element-not-clickable","title":"[WebUI] Verify Element Not Clickable","description":"Description","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-element-not-clickable.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/web-ui-keywords","slug":"/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-element-not-clickable","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-element-not-clickable","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1758935351000,"frontMatter":{"title":"[WebUI] Verify Element Not Clickable"},"sidebar":"katalon-studio","previous":{"title":"[Web UI] Verify Element Not Checked","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/web-ui-verify-element-not-checked"},"next":{"title":"[WebUI] Verify Element Not Has Attribute","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-element-not-has-attribute"}}');var d=a(74848),n=a(28453),o=a(86025);const r={title:"[WebUI] Verify Element Not Clickable"},i=void 0,c={},_=[{value:'<a class="anchor_top_offset"></a>Description',id:"description",level:2},{value:'<a class="anchor_top_offset"></a>Parameters',id:"parameters",level:2},{value:'<a class="anchor_top_offset"></a>Returns',id:"returns",level:2},{value:'<a class="anchor_top_offset"></a>Example',id:"example",level:2}];function l(e){const t={h2:"h2",...(0,n.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(t.h2,{id:"description",children:[(0,d.jsx)("a",{id:"id_0__id",class:"anchor_top_offset"}),"Description"]}),"\n",(0,d.jsx)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:"Verify if the given element is not clickable. "}),"\n",(0,d.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["Keyword name: ",(0,d.jsx)("code",{className:"ph codeph",children:"verifyElementNotClickable"})]}),"\n",(0,d.jsxs)("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"note note note_note",children:[(0,d.jsx)("span",{className:"note__title",children:"Note:"})," ",(0,d.jsxs)("p",{className:"p",children:["This keyword only works with Element has tag ",(0,d.jsx)("code",{className:"ph codeph",children:"input"})," with attribute ",(0,d.jsx)("code",{className:"ph codeph",children:"disable"}),". ",(0,d.jsx)("img",{className:"image",src:(0,o.Ay)("https://github.com/katalon-studio/docs-images/raw/master/katalon-studio/docs/webui-verify-element-not-clickable/uua9rf0a0ve6.png")}),(0,d.jsx)("br",{}),(0,d.jsx)("br",{})," "]})]}),"\n",(0,d.jsxs)(t.h2,{id:"parameters",children:[(0,d.jsx)("a",{id:"id_0__id_2",class:"anchor_top_offset"}),"Parameters"]}),"\n",(0,d.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967",children:[(0,d.jsx)("caption",{}),(0,d.jsx)("thead",{className:"thead",children:(0,d.jsxs)("tr",{className:!0,children:[(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1",children:"Parameter"}),(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2",children:"Parameter Type"}),(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3",children:"Required"}),(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4",children:"Description"})]})}),(0,d.jsxs)("tbody",{className:"tbody",children:[(0,d.jsxs)("tr",{className:!0,children:[(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"to"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"TestObject"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"Yes"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:(0,d.jsx)("p",{className:"p",children:"Represents a web element."})})]}),(0,d.jsxs)("tr",{className:!0,children:[(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"flowControl"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"FailureHandling"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:"Optional"}),(0,d.jsxs)("td",{className:"entry",headers:"id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__1 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__2 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__3 id_0__4967edeb-e06c-4459-b4da-23a3dd358967__entry__4 ",children:["Specify ",(0,d.jsx)("a",{className:"xref j-external-link",href:"https://docs.katalon.com/katalon-studio/docs/failure-handling.html",target:"_blank",children:"failure handling"})," schema to determine whether the execution should be allowed to continue or stop."]})]})]})]}),"\n",(0,d.jsxs)(t.h2,{id:"returns",children:[(0,d.jsx)("a",{id:"id_0__id_3",class:"anchor_top_offset"}),"Returns"]}),"\n",(0,d.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__10891696-c1d1-45e1-b857-de5023980dc5",children:[(0,d.jsx)("caption",{}),(0,d.jsxs)("colgroup",{children:[(0,d.jsx)("col",{style:{width:"33.33333333333333%"}}),(0,d.jsx)("col",{style:{width:"66.66666666666666%"}})]}),(0,d.jsx)("thead",{className:"thead",children:(0,d.jsxs)("tr",{className:!0,children:[(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__1",children:"Parameter Type"}),(0,d.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__2",children:"Description"})]})}),(0,d.jsx)("tbody",{className:"tbody",children:(0,d.jsxs)("tr",{className:!0,children:[(0,d.jsx)("td",{className:"entry",headers:"id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__1 id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__2 ",children:"Boolean"}),(0,d.jsx)("td",{className:"entry",headers:"id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__1 id_0__10891696-c1d1-45e1-b857-de5023980dc5__entry__2 ",children:(0,d.jsxs)("ul",{className:"ul",children:[(0,d.jsx)("li",{className:"li",children:(0,d.jsxs)("p",{className:"p",children:[" ",(0,d.jsx)("code",{className:"ph codeph",children:"true"})," if the element is present and not clickable."]})}),(0,d.jsxs)("li",{className:"li",children:[" ",(0,d.jsx)("code",{className:"ph codeph",children:"false if"})," the element is present and clickable."]})]})})]})})]}),"\n",(0,d.jsxs)(t.h2,{id:"example",children:[(0,d.jsx)("a",{id:"id_0__id_4",class:"anchor_top_offset"}),"Example"]}),"\n",(0,d.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["You want to verify if the ",(0,d.jsx)("span",{className:"ph uicontrol",children:"Make Appointment"})," button is not clickable:"]}),"\n",(0,d.jsx)("pre",{xmlns:"http://www.w3.org/1999/xhtml",className:"pre codeblock",children:(0,d.jsxs)("code",{children:["import static com.kms.katalon.core.checkpoint.CheckpointFactory.findC
1heckpoint","\n","import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase","\n","import static com.kms.katalon.core.testdata.TestDataFactory.findTestData","\n","import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject","\n","import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint","\n","import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory","\n","import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords","\n","import com.kms.katalon.core.model.FailureHandling as FailureHandling","\n","import com.kms.katalon.core.testcase.TestCase as TestCase","\n","import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory","\n","import com.kms.katalon.core.testdata.TestData as TestData","\n","import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory","\n","import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository","\n","import com.kms.katalon.core.testobject.TestObject as TestObject","\n","import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords","\n","import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords","\n","import internal.GlobalVariable as GlobalVariable","\n","import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI","\n","import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile","\n","import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS","\n","\n","'Open browser and navigate to demo AUT site.'","\n","WebUI.openBrowser(GlobalVariable.G_SiteURL)","\n","\n","'Verify 'Make Appoint' button is NOT clickable'","\n","WebUI.verifyElementNotClickable(findTestObject('Page_CuraHomepage/btn_MakeAppointment'))","\n","\n","'Close browser'","\n","WebUI.closeBrowser()","\n"]})})]})}function m(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,d.jsx)(t,{...e,children:(0,d.jsx)(l,{...e})}):l(e)}}}]);
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.