Sorry for the newbie question, but I didn’t managed to find a way to check if a textbox with html formatting options (like the one I’m writing this post, for istance) is working properly…
For example, I would like to check if pressiong the “bold” button, the written text is… well, bold
Broadly speaking, you have two options:
Visual Testing in Katalon Studio
and testing the
rendered HTML output from the editing component (be it a textarea, element with contenteditable, whatever)
There are a lot of fine details to discuss regarding the latter. But without more information (see next link) it’s almost impossible to advise:
If you find yourself saying something like the title of this post, take a deep breath and relax. Do that BEFORE you reach for the keyboard and BEFORE you start typing.
Yes, there are some pretty smart people on this forum. But even so, they/we are not magicians or wizards or gods. We can’t see your code. We can’t see your errors…
Remember: We don’t even know what your application is meant to do even though it might seem perfectly obvious to you.
So relax. Follow the advice below and take…
Thank you for your suggestions
I didn’t meant to sound worried or in an hurry, I was just asking for a direction to be pointed at and that the reason I wasn’t too much specific… I just needed to know if it was technically possible to do what I needed or not, that’s it!
Thank you very much for your help.
It’s certainly possible, it just depends on how the tool actually manipulates the DOM behind the scenes. If we take a look at part of
He has the word “rendered” italicized. If you inspect the HTML for the word:
you can see that the word is wrapped in an
While your particular editing widgets might behave differently, you should still be able to test this by looking at the HTML directly (Russ’s second option).