Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF (Assert Text on Page (Custom UI)) does not work properly

MiY
Tera Contributor

I want to make sure that error messages are displayed correctly on a form using ATF (Assert Text on Page (Custom UI)).
In the screenshot I can see that the error messages are displayed, but the ATF fails.
The error messages I want to check are as follows (in Japanese)
入力値が矛盾しています。修正してください。
・データA: 1:有
・データB: 2:無

Do I need to escape colons or spaces?
If so, how?

 

1 REPLY 1

nickpqa
Tera Contributor

Here is the steps you follow, (Make sure you change the language from the ServiceNow profile)

1) From the ATF Property  - ATF->Administration --> Screenshot Properties --> Select "Enable for all Steps

2) Run the ATF Test

3) open the fail screenshot 

4) Add/update the step 'Assert Text on Page (Custom UI)' 

5) Add like to like text to the "Text" field on ' Assert Text on Page (Custom UI) '

6) Run the step