Hi, I want to handle pop-up message. I can’t find Element on this page.
can you follow on html : https://octopus-portal-sit.digipay.dev/login
Thank.
Hi, I want to handle pop-up message. I can’t find Element on this page.
can you follow on html : https://octopus-portal-sit.digipay.dev/login
Thank.
How about just try, WebUI.verifyTextPresent('Please fill out this field.', false)
?
I try:
Output ERROR
Text ‘Please fill out this field.’ is not present on page
Just a small change. If the below does not work, then I don’t know. One item is your message disappears on its own after a few moments, so…
WebUI.click(findTestObject('login button'))
WebUI.delay(1)
WebUI.verifyTextPresent(".*Please fill out this field.", true)
@Russ_Thomas I believe @chaninat wants the text of the pop-up that opens when you click on the blue button without entering a Username. It is highlighted in red in the first image above.
@grylion54 Note to self: don’t reply until you’re fully awake