1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
- import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
- import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
- import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
- import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
- import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
- import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
- import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
- import com.kms.katalon.core.model.FailureHandling as FailureHandling
- import com.kms.katalon.core.testcase.TestCase as TestCase
- import com.kms.katalon.core.testdata.TestData as TestData
- import com.kms.katalon.core.testng.keyword.TestNGBuiltinKeywords as TestNGKW
- import com.kms.katalon.core.testobject.TestObject as TestObject
- import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
- import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
- import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
- import internal.GlobalVariable as GlobalVariable
- import org.openqa.selenium.Keys as Keys
- WebUI.openBrowser('')
- WebUI.delay(2)
- WebUI.navigateToUrl('http://10.112.6.205/login')
- WebUI.delay(2)
- WebUI.maximizeWindow()
- WebUI.delay(2)
- WebUI.setText(findTestObject('Object Repository/Page_/input-cc8-295-89d'), 'BPTPR')
- WebUI.delay(2)
- WebUI.setText(findTestObject('Object Repository/Page_/input-cc8-31f-df9'), 'BPTPRUSER1')
- WebUI.delay(2)
- WebUI.setEncryptedText(findTestObject('Object Repository/Page_/input_password-cc8-e5f-c3d'), 'MpEqHZHV+RM=')
- WebUI.delay(2)
- WebUI.setEncryptedText(findTestObject('Object Repository/Page_/input_password-cc8-5d9-63b'), 'SFTQUhjBfIY=')
- WebUI.delay(2)
- WebUI.click(findTestObject('Object Repository/Page_/buttonbutton-cc8-a97-fa6'))
- WebUI.delay(2)
- WebUI.click(findTestObject('Object Repository/Page_/div-12d-9dd-c7a'))
- WebUI.delay(2)
- WebUI.click(findTestObject('Object Repository/Page_/vaadin-item_Selling Agent'))
- WebUI.delay(2)
- WebUI.click(findTestObject('Object Repository/Page_/buttonbutton-7c2-1bc-ee8'))
- WebUI.delay(2)
- WebUI.verifyElementText(findTestObject('Object Repository/Page_/span_Home-ge_-415-78d'), 'Home')
- WebUI.delay(2)
|