Question

How do I select the extent of text to gettext when using AISense on passive text?

  • 9 June 2022
  • 1 reply
  • 6 views

I'm using AISense to retrieve a status message from a web-based terminal emulator. I've set the anchor and selected 'passive text' as the type, then dragged a select box around the entire sentence ("no data set namess found"), and saved the gettext result to a variable. When I display the variable contents with an alert box, I only get the last word in the sentence (this is also the only word hilighted in the preview screenshot when I look at the action).

How can I alter the parameters of the AISense action to retrieve the entire sentence and not just one word? If I choose the 'recapture object' option, I'm presented with the standard object recorder (which doesn't work, as it doesn't recognize the non-clickable status text as a selectable object).


1 reply

Userlevel 4
Badge +8

Hello ,

 

Terminal Emulator Get text for selected lines does not work, please try to follow below steps which should resolve the issue:-

 

Add the following command in AA.settings.xml

 

<commands>

<terminalemulator>

<tewindowwidth>1200</tewindowwidth>

<tewindowheight>800</tewindowheight>

<isgetalllines>True</isgetalllines>

</terminalemulator>

</commands>

 

If you have any questions please let me know.

 

Thank you,

Prabhakar Jha

Reply