1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[10374],{28453:(e,t,a)=>{a.d(t,{R:()=>n,x:()=>r});var o=a(96540);const s={},c=o.createContext(s);function n(e){const t=o.useContext(c);return o.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(s):e.components||s:n(e.components),o.createElement(c.Provider,{value:t},e.children)}},75512:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>l,frontMatter:()=>n,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-manufacturer","title":"[Mobile] Get Device Manufacturer","description":"Description","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-manufacturer.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/mobile-keywords","slug":"/keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-manufacturer","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-manufacturer","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1758935351000,"frontMatter":{"title":"[Mobile] Get Device Manufacturer"},"sidebar":"katalon-studio","previous":{"title":"[Mobile] Get Device Height","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-height"},"next":{"title":"[Mobile] Get Device OS","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/mobile-keywords/mobile-get-device-os"}}');var s=a(74848),c=a(28453);const n={title:"[Mobile] Get Device Manufacturer"},r=void 0,i={},d=[{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 _(e){const t={h2:"h2",p:"p",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.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:"Get the manufacturer of the current active mobile device."}),"\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:"Mobile.getDeviceManufacturer"})]}),"\n",(0,s.jsxs)(t.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__9ced7ee0-b645-4e74-9a5f-669e78b2ce63",children:[(0,s.jsx)("caption",{}),(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__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__1",children:"Param"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__2",children:"Param Type"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__3",children:"Required"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__4",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__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__1 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__2 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__3 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__4 ",children:"flowControl"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__1 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__2 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__3 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__4 ",children:"FailureHandling"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__1 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__2 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__3 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__4 ",children:"Optional"}),(0,s.jsxs)("td",{className:"entry",headers:"id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__1 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__2 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__entry__3 id_0__9ced7ee0-b645-4e74-9a5f-669e78b2ce63__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)(t.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__d97ce1ca-505b-4a80-bc66-99b17c768394",children:[(0,s.jsx)("caption",{}),(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__d97ce1ca-505b-4a80-bc66-99b17c768394__entry__1",children:"Param Type"}),(0,s.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__d97ce1ca-505b-4a80-bc66-99b17c768394__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__d97ce1ca-505b-4a80-bc66-99b17c768394__entry__1 id_0__d97ce1ca-505b-4a80-bc66-99b17c768394__entry__2 ",children:"String"}),(0,s.jsx)("td",{className:"entry",headers:"id_0__d97ce1ca-505b-4a80-bc66-99b17c768394__entry__1 id_0__d97ce1ca-505b-4a80-bc66-99b17c768394__entry__2 ",children:"The manufacturer of the current active mobile device."})]})})]}),"\n",(0,s.jsxs)(t.h2,{id:"example",children:[(0,s.jsx)("a",{id:"id_0__id_4",class:"anchor_top_offset"}),"Example"]}),"\n",(0,s.jsx)(t.p,{children:'You want to get device manufacturer of the current active mobile device, then store it into "manufacturer" variable:'}),"\n",(0,s.jsx)("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:(0,s.jsx)("pre",{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.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","'Start application on current selected android device'","\n","Mobile.startApplication(GlobalVariable.G_AndroidApp, false)","\n","\n","'Get device manufacturer'","\n","manufacturer = Mobile.getDeviceManufacturer()","\n","\n","'Close application'","\n","Mobile.closeApplication()","\n","\n","\n"]})})})]})}function l(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(_,{...e})}):_(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.