PageSourceSearch

https://docs-production-katalon.netlify.app/assets/js/c0338b5f.c0ecf18c.js

js docs-production-katalon.netlify.app collected 2026-10-03 10:42:38 UTC 14,937 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[10155],{21760:(e,_,t)=>{t.r(_),t.d(_,{assets:()=>i,contentTitle:()=>d,default:()=>l,frontMatter:()=>r,metadata:()=>a,toc:()=>b});const a=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-option-not-present-by-label","title":"[WebUI] Verify Option Not Present By Label","description":"Description","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-option-not-present-by-label.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/web-ui-keywords","slug":"/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-option-not-present-by-label","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-option-not-present-by-label","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1758935351000,"frontMatter":{"title":"[WebUI] Verify Option Not Present By Label"},"sidebar":"katalon-studio","previous":{"title":"[WebUI] Verify Links Accessible","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-links-accessible"},"next":{"title":"[WebUI] Verify Option Not Present By Value","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-verify-option-not-present-by-value"}}');var s=t(74848),n=t(28453),c=t(86025);const r={title:"[WebUI] Verify Option Not Present By Label"},d=void 0,i={},b=[{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 o(e){const _={h2:"h2",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(_.h2,{id:"description",children:[(0,s.jsx)("a",{id:"id_0__id_1",class:"anchor_top_offset"}),"Description"]}),"\n",(0,s.jsx)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:"Verify if the option with the given displayed text does not exist."}),"\n",(0,s.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["Keyword name: ",(0,s.jsx)("code",{className:"ph codeph",children:"verifyOptionNotPresentByLabel"})]}),"\n",(0,s.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:[(0,s.jsx)("img",{className:"image",src:(0,c.Ay)("https://github.com/katalon-studio/docs-images/raw/master/katalon-studio/docs/webui-verify-option-not-present-by-label/label.jpg")}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{})]}),"\n",(0,s.jsxs)(_.h2,{id:"parameters",children:[(0,s.jsx)("a",{id:"id_0__id_2",class:"anchor_top_offset"}),"Parameters"]}),"\n",(0,s.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e",children:[(0,s.jsx)("caption",{}),(0,s.jsxs)("colgroup",{children:[(0,s.jsx)("col",{style:{width:"20%"}}),(0,s.jsx)("col",{style:{width:"20%"}}),(0,s.jsx)("col",{style:{width:"20%"}}),(0,s.jsx)("col",{style:{width:"40%"}})]}),(0,s.jsx)("thead",{className:"thead",children:(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1",children:"Parameter"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2",children:"Parameter Type"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3",children:"Required"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4",children:"Description"})]})}),(0,s.jsxs)("tbody",{className:"tbody",children:[(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"to"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"TestObject"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Yes"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Represents a web element."})]}),(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"label"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"String"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Yes"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Displayed texts of the options to be verified if not existing."})]}),(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"isRegex"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Boolean"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Yes"}),(0,s.jsxs)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:[(0,s.jsx)("code",{className:"ph codeph",children:"true"})," if the label is a regular expression, ",(0,s.jsx)("code",{className:"ph codeph",children:"false"})," by default."]})]}),(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"timeout"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"int"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Yes"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"System will wait at most timeout (seconds)to return the result."})]}),(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"flowControl"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"FailureHandling"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:"Optional"}),(0,s.jsxs)("td",{className:"entry",headers:"id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__1 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__2 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__3 id_0__c4c98bb9-e24a-4613-9a6f-89b4de9b4e2e__entry__4 ",children:["Specify ",(0,s.jsx)("a",{className:"xref",href:"/katalon-studio/maintain-tests/configure-failure-handling-settings-in-katalon-studio",children:"failure handling"})," schema to determine whether the execution should be allowed to continue or stop."]})]})]})]}),"\n",(0,s.jsxs)(_.h2,{id:"returns",children:[(0,s.jsx)("a",{id:"id_0__id_3",class:"anchor_top_offset"}),"Returns"]}),"\n",(0,s.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__493e929a-1d3e-4d27-860e-2d977ba4d412",children:[(0,s.jsx)("caption",{}),(0,s.jsxs)("colgroup",{children:[(0,s.jsx)("col",{style:{width:"33.33333333333333%"}}),(0,s.jsx)("col",{style:{width:"66.66666666666666%"}})]}),(0,s.jsx)("thead",{className:"thead",children:(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__1",children:"Parameter Type"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__2",children:"Description"})]})}),(0,s.jsx)("tbody",{className:"tbody",children:(0,s.jsxs)("tr",{className:!0,children:[(0,s.jsx)("td",{className:"entry",headers:"id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__1 id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__2 ",children:"Boolean"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__1 id_0__493e929a-1d3e-4d27-860e-2d977ba4d412__entry__2 ",children:(0,s.jsxs)("ul",{className:"ul",children:[(0,s.jsxs)("li",{className:"li",children:[(0,s.jsx)("code",{className:"ph codeph",children:"true"})," if options with given displayed text do not present."]}),(0,s.jsxs)("li",{className:"li",children:[(0,s.jsx)("code",{className:"ph codeph",children:"false"})," if options with given displayed text present."]})]})})]})})]}),"\n",(0,s.jsxs)(_.h2,{id:"example",children:[(0,s.jsx)("a",{id:"id_0__id_4",class:"anchor_top_offset"}),"Example"]}),"\n",(0,s.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["You want to verify if ",(0,s.jsx)("span",{className:"ph uicontrol",children:"HongKong Cura Health Center"})," option does not present in the list:"]}),"\n",(0,s.jsx)("pre",{xmlns:"http://www.w3.org/1999/xhtml",className:"pre codeblock",children:(0,s.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","'Click on 'Book Appointment' button'","\n","WebUI.click(findTestObject('Page_CuraHomepage/btn_MakeAppointment'))","\n","\n","'Verify 'HongKong Cura Health Center' option in 'Facility' list is not present'","\n","WebUI.verifyOptionNotPresentByLabel(findTestObject('Page_CuraAppointment/lst_Facility'), 'HongKong Cura Health Center', false, ","\n","    ","20)","\n","\n","'Close browser'","\n","WebUI.closeBrowser()","\n"]})})]})}function l(e={}){const{wrapper:_}={...(0,n.R)(),...e.components};return _?(0,s.jsx)(_,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},28453:(e,_,t)=>{t.d(_,{R:()=>c,x:()=>r});var a=t(96540);const s={},n=a.createContext(s);function c(e){const _=a.useContext(n);return a.useMemo((function(){return"function"==typeof e?e(_):{..._,...e}}),[_,e])}function r(e){let _;return _=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),a.createElement(n.Provider,{value:_},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.