ATF - How to validate a field that includes special characters

Latoya
Kilo Guru

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!

  1. Lorem ipsum’s odor amet \ consectetuer + and < consectetuer >  adipiscing: elit - elit “elit” elit
  2. elit, elit / elit to elit.
  3. elit - elit. 
  4. elit < adipiscing > adipiscing, adipiscing < adipiscing + adipiscing > 
  5. adipiscing (adipiscing)
  6. adipiscing , adipiscing (adipiscing, adipiscing (;) adipiscing) adipiscing < adipiscing >. 

 

 

2 REPLIES 2

Shaqeel
Mega Sage

@Latoya 

 

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

Hi 
I tried that option with the entire text, and it still failed. I tried with one line and the step failed.