![]() You can read the source of WebUI.verifyElementText keyword here: katalon-studio/katalon-studio-testing-framework/blob/master/Include/scripts/groovy/com/kms/katalon/core/webui/keyword/builtin/oovy package . Parameters Returns Example You want to verify 'Make Appointment' button has the correct 'Make Appointment' label import static. import static. Check the value type of the actual object and the expected object. You want to verify if the text 'Login successfully' presents in the current page. expectedText: String: Required: Represent the expected text (can be a regular expression). Parameters Returns Example You want to verify if the text 'Katalon' matches the regular expression ' (KT)atalon'. Param Param Type Mandatory Description actualText: String: Required: Represent the actual text. Check the value type of the actual text and the expected text. Description Verify if two strings match each other, the second string can be a regular expression. actualWebUi.getText (findTestObject (Your Object Location in object repository)) expectedWebUi.getAttribute (findTestObject (Your Object Location in. Check the value type of the actual object and the expected object. You can’t directly pass an object to verify match instead you can getText or get Attribute from the object and store it into a local variable and pass it into the verifyMactch keyword. I don’t have any answer to your question. Verify Less Than Or Equal Keyword type: Common.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |