Steer RichTextEditor

With RichTextEditor, you can enter and verify text just like any TextBox. It also comes with formatting buttons such as Bold, Italic, and Underline, which you can interact with directly in your TestCases.

Before you start

Salesforce Rich text editors can contain lists, bullet points, and structured content. Here is how Tosca handles these elements:removes

  • Text content is returned as plain text.

  • Formatted text such as font styles, colors, and HTML tags is removed automatically.

  • Spaces within your text are preserved, but indentation is not validated.

  • List indicators such as "" or "2." are removed.

RichTextEditor is in early support and works like TextBox. Until full support is available, the following limitations apply:

  • You cannot add text in multiple steps. Delete the existing content first, then type your new text.

  • You cannot use formatting buttons such as Bold, Italic, and Underline to change the text style.

  • You cannot verify line breaks and paragraph breaks.