How to handle unable to set text error in katalon.?

Before hitting that Ask the Community button, make sure to:

  • Search for similar topics to make sure it hasn’t been asked by another member;
  • Write your topic title as a question (if possible) - this help with search
  • Give as much context as possible (screenshots, videos, links, code blocks, etc.) - this help the community help you
  • Use the katalon-studio tag followed by other appropriate tags for better visibility and searchability.
  • Make sure to remove this pre-filled content before posting. :smiley:

FYI*****
I’m using same xpath for getText it’s work but while sending Text it won’t work.

You might expect getText and setText APIs to be mirror images of each – unfortunately that’s not true. The APIs are poorly named.

getText() retrieves the innerText of any DOM element.

Example: <div>Retrieve this stuff</div>

setText() sets the value property of a DOM element that supports the value attribute and property

Example: <input value="Set this stuff" ... >.

As you can see, they are very different things.

FYI:

the template you used to create this topic is just a template.
it is supposed to give hints to the users how to add relevant info into a new topic and edit it accordingly.

however, you have no time for this, right?

so, why do you think comunity users should have time to scratch their heads to figure out what is your actual issue?