How to test HTMl text using ATF
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 06:41 PM
Hi ,
I have a KB article in portal , I need to test the heading of the KB article . I have used step Assert Text on Page (Custom UI) but this always says no text found . I suspect that text is of HTML format hence step is failing. I need help how to test the HTML text by using custom step.
Thanks in Advance!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2024 09:48 PM
I think the Asset Text checks for string and your text is HTML so possibly it's failing
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader