ATF - How to validate a field that includes special characters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 11:51 AM
I need to verify the text in the field of a change request. Therefore, I used the field values validation step. However, it is failing and I think it is due to the special characters included. Below is a sample of what is included. I will not post a screenshot of the actual test step. The failure is the usual “form did not match the condition.”
How can I verify the field displays the example below as is? I tried splitting the validation steps and was led to the special characters being the issue. There is double spacing, quotes, semicolons, exclamation point, left arrows… to name a few. I was not using parameters. Thanks in advance
Example below:
Lorem!! - Please ipsum " odor amet " consectetuer 9.0 Lorem ipsum!
- Lorem ipsum’s odor amet \ consectetuer + and < consectetuer > adipiscing: elit - elit “elit” elit
- elit, elit / elit to elit.
- elit - elit.
- elit < adipiscing > adipiscing, adipiscing < adipiscing + adipiscing >
- adipiscing (adipiscing)
- adipiscing , adipiscing (adipiscing, adipiscing (;) adipiscing) adipiscing < adipiscing >.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 01:13 AM
It can only be done using Assert text on page step.
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
*************************************************************************************************************
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2024 12:23 PM
Hi
I tried that option with the entire text, and it still failed. I tried with one line and the step failed.