Support > Forums > OpenBots Studio > Element Action Command

Element Action Command

Shahin Hassan

  • Reporter
  • Calender Icon April 07,2021 at 7:34 AM

How to use Get Text and Get Table in Element Action Command I am unable to use this command.

This forum has 172 topics, 459 replies, and was last updated 2 hours ago by Poornima Malv

Nataly Alvarado

  • Participant
  • Calender Icon August 05,2021 at 6:22 PM

Nishant, please reference the following post: DataRow in (text to set) is not acceptable

Nishant sharma

  • Participant
  • Calender Icon August 05,2021 at 4:37 PM

well what in case of set text, when i am using Text to set the Parameter value do not acknowledge {vRow.Emp ID} stored in vData datatable & red highlight flashes.

Nataly Alvarado

  • Participant
  • Calender Icon April 08,2021 at 2:55 PM

Hi Shahin,

there are a couple of things you need to keep in mind when using the element action command.

  • Indicate the name of an existing Instance Name. Browser instances can be created through the Create Browser command.
  • Indicate the Element Search Parameters. For the most part, the element's xpath is the most reliable selector. You can capture the xpath by using the element recorder provided on the command, or by inspecting the element's HTML information. Keep in mind that the element needs to be in the correct format for the bot to extract it. For example, using the Get Table action required the element to be formatted as an HTML table (tag <table>).
  • The Action Parameters field asks for the variable in which you want to save the extracted information. The Get Text action requires a string variable, whereas the Get Table action requires a datatable variable.
  • The Timeout field specifies how many seconds to wait for the element to exist before marking it as an error.

Please, let me know if you are able to use the command successfully.

Best regards

You are not authorized to reply, please click here to login and add your reply to this topic.