PageSourceSearch

https://docs-production-katalon.netlify.app/assets/js/04f1d431.c5a36c73.js

js docs-production-katalon.netlify.app collected 2026-10-03 10:43:43 UTC 11,393 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[14660],{11937:(e,d,a)=>{a.r(d),a.d(d,{assets:()=>r,contentTitle:()=>o,default:()=>f,frontMatter:()=>n,metadata:()=>t,toc:()=>i});const t=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-not-equal","title":"[Common] Verify Not Equal","description":"Description","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-not-equal.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/common-assertions","slug":"/keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-not-equal","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-not-equal","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1758935351000,"frontMatter":{"title":"[Common] Verify Not Equal"},"sidebar":"katalon-studio","previous":{"title":"[Common] Verify Match","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-match"},"next":{"title":"[Common] Verify Not Match","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/common-assertions/common-verify-not-match"}}');var _=a(74848),s=a(28453);const n={title:"[Common] Verify Not Equal"},o=void 0,r={},i=[{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 c(e){const d={h2:"h2",...(0,s.R)(),...e.components};return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(d.h2,{id:"description",children:[(0,_.jsx)("a",{id:"id_0__id_1",class:"anchor_top_offset"}),"Description"]}),"\n",(0,_.jsx)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:"Verify if the actual number is not equal to the expected number."}),"\n",(0,_.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["Keyword name: ",(0,_.jsx)("code",{className:"ph codeph",children:"verifyNotEqual"})]}),"\n",(0,_.jsxs)(d.h2,{id:"parameters",children:[(0,_.jsx)("a",{id:"id_0__id_2",class:"anchor_top_offset"}),"Parameters"]}),"\n",(0,_.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637",children:[(0,_.jsx)("caption",{}),(0,_.jsx)("thead",{className:"thead",children:(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1",children:"Param"}),(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2",children:"Param Type"}),(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3",children:"Required"}),(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4",children:"Description"})]})}),(0,_.jsxs)("tbody",{className:"tbody",children:[(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"actualObject"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Object"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Yes"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Represents the actual object."})]}),(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"expectedObject"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Object"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Yes"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Represents the expected object."})]}),(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"flowControl"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"FailureHandling"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:"Optional"}),(0,_.jsxs)("td",{className:"entry",headers:"id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__1 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__2 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__3 id_0__7db5fdde-7fb3-4336-8f81-da2abb23f637__entry__4 ",children:["Specify ",(0,_.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,_.jsxs)(d.h2,{id:"returns",children:[(0,_.jsx)("a",{id:"id_0__id_3",class:"anchor_top_offset"}),"Returns"]}),"\n",(0,_.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019",children:[(0,_.jsx)("caption",{}),(0,_.jsxs)("colgroup",{children:[(0,_.jsx)("col",{style:{width:"33.33333333333333%"}}),(0,_.jsx)("col",{style:{width:"66.66666666666666%"}})]}),(0,_.jsx)("thead",{className:"thead",children:(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__1",children:"Param Type"}),(0,_.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__2",children:"Description"})]})}),(0,_.jsx)("tbody",{className:"tbody",children:(0,_.jsxs)("tr",{className:!0,children:[(0,_.jsx)("td",{className:"entry",headers:"id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__1 id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__2 ",children:"Boolean"}),(0,_.jsx)("td",{className:"entry",headers:"id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__1 id_0__e5b6800a-d3b2-49ae-8c61-4b6eddd8d019__entry__2 ",children:(0,_.jsxs)("ul",{className:"ul",children:[(0,_.jsx)("li",{className:"li",children:(0,_.jsxs)("p",{className:"p",children:[" ",(0,_.jsx)("code",{className:"ph codeph",children:"true"})," if the actual number is not equal to the expected number."]})}),(0,_.jsx)("li",{className:"li",children:(0,_.jsxs)("p",{className:"p",children:[" ",(0,_.jsx)("code",{className:"ph codeph",children:"false"})," if the actual number is equal to the expected number."]})})]})})]})})]}),"\n",(0,_.jsxs)(d.h2,{id:"example",children:[(0,_.jsx)("a",{id:"id_0__id_4",class:"anchor_top_offset"}),"Example"]}),"\n",(0,_.jsx)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:"You want to verify if the two given numbers are not equal:"}),"\n",(0,_.jsx)("pre",{xmlns:"http://www.w3.org/1999/xhtml",className:"pre codeblock",children:(0,_.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.mobile.keyword.MobileBuiltInKeywords as Mobile","\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.webservice.keyword.WSBuiltInKeywords as WS","\n","import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords","\n","import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI","\n","import internal.GlobalVariable as GlobalVariable","\n","\n","'Use WebUI keyword'","\n","WebUI.verifyNotEqual(10, 12)","\n","\n","'Use Mobile keyword'","\n","Mobile.verifyNotEqual(10, 12)","\n","\n","'Use Web Service keyword'","\n","WS.verifyNotEqual(10, 12)","\n"]})})]})}function f(e={}){const{wrapper:d}={...(0,s.R)(),...e.components};return d?(0,_.jsx)(d,{...e,children:(0,_.jsx)(c,{...e})}):c(e)}},28453:(e,d,a)=>{a.d(d,{R:()=>n,x:()=>o});var t=a(96540);const _={},s=t.createContext(_);function n(e){const d=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(d):{...d,...e}}),[d,e])}function o(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(_):e.components||_:n(e.components),t.createElement(s.Provider,{value:d},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.