The below alert text inside the pasted function below only appears when I hit a button. I wish to capture the text to validate it.
When I use the following code I can find the locator on the page, but no text is returned in my response. How can I get inside the function?
${response} Get Text css=body script:nth-child(9)
(script)
$(function () {
Metro.toast.create("No changes have been entered so
nothing will be updated in CMS!", null, 6000, "alert");
});
(/script)
The response comes as pass but with no text.
15:49:17.350 INFO ${response} =