This is a rich-text control. I recorded the text entry and the RPA software automatically selects the editContent command. This command works by getting (during record) and then re-inserting (during replay) the complete HTML content of this control.
Does this answer your question? Or do you have a problem with this HTML?
You were very good to realize this automation to me by some problems
I can’t detect xpath/id “id-editor-keyboard-trap-help-4” ui vision doesn’t save me during recording and I don’t understand what item it corresponds.
I tried with other addon but i can not see this xpath/id “id-editor-keyboard-trap-help-4”
I can’t after writing to save. it seems that the button is not clickable and I can not understand what the problem depends (perhaps an incorrect xpath)
I can not understand but in some moments saves me the text and after reloading the page does not appear, at other times it seems that the save button is not clickable, I can not well understand the problem I can not insert a multi-line css and save it.
If you can please try to save the text multiline and then reload the page and see if it’s all working, thank you
If please you can add to your macro code the save of the css and after you can publish the code in the forum so I try it.
A new xpath working well and need not focus or xmodules for better compatibility
{
"Command": "type",
"Target": "xpath=//textarea[@class='code']",
"Value": "LINE LINE \\n\\nLINE LINE \\n\\nLINE LINE \\n\\nLINE LINE \\n\\nLINE LINE \\n\\n"
},
I switched via prodile to regular textarea box to have an easy xpatch to detect, after I taked xpath for textarea (simple with firefox addon truepath) and after I set again rich-text control format and the xparh of textbox continue to work.