

If Java is working, you will see a pink rectangle above with one line of text that says something like: Java Version 1. It uses a builder class where we must set package selectors and testing class name filters, to get all test classes that we want to run. * while escaping all non ASCII characters of which UNICODE code point is larger than 128 WebUI.verifyMatch(text, pattern, true, FailureHandling.CONTINUE_ON_FAILURE)Īlso I have made a custom keyword my.StringUtils: package my String pattern = ".*Partner.*" + partner + String escp = StringUtils.escapeNonAsciiChars(text) String text = "Your new Routing Rule was successfully implemented. String text = WebUI.getText(findTestObject('AddStateRoutingRule/Page_WellDyne QuickLook/p_Your new Routing Rule was successfully im_328405')) I have made a sample Test Case TC1: import .model.FailureHandling as FailureHandling

–- Partner: PILLPACK –- Type: Direct –- Lane: FL-RDS -– State: PA. Click to View.’ and expected text ‘Your new Routing Rule was successfully implemented. – Partner: PILLPACK – Type: Direct – Lane: FL-RDS – State: PA. = ROOT CAUSE =Ĭaused by: .exception.StepFailedException: Actual text ‘Your new Routing Rule was successfully implemented. –- Partner: ’ + vPartners) + ’ –- Type: ') + vOrderType1) + ((((((('Your new Routing Rule was successfully implemented. WebUI.verifyElementText(findTestObject(‘AddStateRoutingRule/Page_WellDyne QuickLook/p_Your new Routing Rule was successfully im_328405’), I tried to copy both Expected and Actual strings to Notepad to compare. The string after test execution is exactly what is needed, but still a not matched error appears. Thankyou so much!!! That worked but then other issue has come up with comparing strings.
