Skip to main content
Question

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

  • June 9, 2022
  • 1 reply
  • 24 views

Forum|alt.badge.img+4

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

Forum|alt.badge.img+12

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings