I need to verify the text in a multiline alert but I really cannot make it work.
The alert is like:
- Please enter firstname:
- Please enter lastname:
- ..............................
And I use:
verifyEquals("Verify msg",
ObjectHelp.closeAlertAndGetItsText(true),
"Please enter firstname:Please enter lastname:");
But it gives me FALSE for some reason!
I tried to debug and the alert text is really "Please enter firstname:Please enter lastname:" so, no doubts on that.
How can I manage multiline alerts?