How can PTF test whether or not a certain error message is displayed?
In PeopleSoft Test Framework (PTF), on PT 8.55.20:
How can I test whether or not a certain error message is displayed during the execution of a test script? In my example, if the user enters a value over 40 (time entry), they should get a specific error message. If they get the error message then the test passes. If they do NOT get the error message then the test fails.
The Message Recognition feature does not test this scenario. It only lets you respond to a message whenever it appears (abort/continue).
I have tried multiple approaches and none of them worked. I have also spent a lot of time reading through the PeopleBooks documentation and searching Oracle Support and elsewhere. I thought the Div + Exists step action would work, but it will not find any of the nested div or span elements underneath the "pt_modals" div. Does anyone know why not?