drivehaser.blogg.se

Katalon studio verify element text for disabled input
Katalon studio verify element text for disabled input








katalon studio verify element text for disabled input katalon studio verify element text for disabled input katalon studio verify element text for disabled input

verifyElementChecked ( findTestObject ( 'Page_CURA Healthcare Service (2)/input_hospital_readmission' ), 30 ) 'un check Hospital readmission check box' WebUI. check ( findTestObject ( 'Page_CURA Healthcare Service (2)/input_hospital_readmission' )) 'verify Hospital readmission check box is checked' WebUI. selectOptionByValue ( findTestObject ( 'Page_CURA Healthcare Service (2)/select_facility' ), 'Hongkong CURA Healthcare Center', true ) 'check Hospital readmission check box' WebUI. click ( findTestObject ( 'Page_CURA Healthcare Service (1)/button_Login' )) 'Select the Hongkong CURA Healthcare Center from dropdown' WebUI. click ( findTestObject ( 'Page_CURA Healthcare Service/a_Make Appointment' )) 'Click on Login Button' WebUI. verifyElementClickable ( findTestObject ( 'Page_CURA Healthcare Service/a_Make Appointment' )) 'Click on Make Appointment Button' WebUI. navigateToUrl ( '' ) 'verify the element is clickable or not' WebUI. openBrowser ( '' ) 'Launch the url' WebUI. findTestObject import .checkpoint.Checkpoint as Checkpoint import .checkpoint.CheckpointFactory as CheckpointFactory import. as MobileBuiltInKeywords import. as Mobile import .model.FailureHandling as FailureHandling import .testcase.TestCase as TestCase import .testcase.TestCaseFactory as TestCaseFactory import .testdata.TestData as TestData import .testdata.TestDataFactory as TestDataFactory import .testobject.ObjectRepository as ObjectRepository import .testobject.TestObject as TestObject import. as WSBuiltInKeywords import. as WS import. as WebUiBuiltInKeywords import. as WebUI import internal.GlobalVariable as GlobalVariable 'Invoking Browser' WebUI. Step 4: Make an appointment (check, uncheck the checkbox and verify check, uncheck status).

#Katalon studio verify element text for disabled input password

Step 3: Enter the valid username, password and click on Login button (verify the button and click operation).Step 2: Click on Make Appointment (verify the button and click operation).Step 1: Launch the application under test (URL: ).Username is a variable name, here storing the value "Katalon" in the username variable. In the script mode above, Def is a keyword in Groovy used for declaration of variables. verifyMatch ( userName, input_Value, false ) WebUI. getAttribute ( findTestObject ( 'Page_CURA Healthcare Service (1)/input_username' ), 'value' ) 'verify the entered text and attribute value' WebUI. setText ( findTestObject ( 'Page_CURA Healthcare Service (1)/input_username' ), userName ) 'Get the attribute value of username text field' input_Value = WebUI. click ( findTestObject ( 'Page_CURA Healthcare Service/a_Make Appointment' )) 'Decalre username variable and assign the value' def userName = 'katalon' 'Enter text to username field' WebUI. navigateToUrl ( '' ) 'Click on the make Appointment Button' WebUI. openBrowser ( '' ) 'Passing the URL' WebUI. findTestObject import .checkpoint.Checkpoint as Checkpoint import .checkpoint.CheckpointFactory as CheckpointFactory import. as MobileBuiltInKeywords import. as Mobile import .model.FailureHandling as FailureHandling import .testcase.TestCase as TestCase import .testcase.TestCaseFactory as TestCaseFactory import .testdata.TestData as TestData import .testdata.TestDataFactory as TestDataFactory import .testobject.ObjectRepository as ObjectRepository import .testobject.TestObject as TestObject import. as WSBuiltInKeywords import. as WS import. as WebUiBuiltInKeywords import. as WebUI import internal.GlobalVariable as GlobalVariable 'Invoking the browser' WebUI.










Katalon studio verify element text for disabled input