title: If/Else statement in Katalon Studio
body: <p>I'm try to do this statements but not successful. Can anyone help me. Thank you alot</p>
  
  <pre><code>if (WebUI.verifyTextPresent('Nhân viên hiện không rảnh trong khung giờ này', true) {
      WebUI.waitForAlert(2)
  
      WebUI.click(findTestObject('Page_Trang Qun L (1)/FailConfirm'))
  
      WebUI.closeBrowser()
  } else {
      WebUI.waitForAlert(3)
  
      WebUI.click(findTestObject('Page_Trang Qun L (1)/ThemButton'))
  
      WebUI.waitForAlert(2)
  
      WebUI.click(findTestObject('Page_Trang qun tr SkyAdmin/button_OK'))
  
      WebUI.waitForAlert(2)
  
      WebUI.closeBrowser()
  }
  </code></pre>