ATF test, how to send the text field in Virtual Agent Chat by pressing the Enter key?

Valtteri Roinin
Tera Contributor

I'm trying to create an ATF test for Virtual Agent Chat. My problem is that the text field (see pic) in the chat cannot be sent to chat. Can't find Send button using Click Component (Custom UI).

Is it possible to create a step or script that would imitate pressing the Enter key of keyboard to send text?

4 REPLIES 4

JAYAKRISHNA TOL
Tera Contributor

Dis you get any solution for this 

Valmik Patil1
Kilo Sage

Hello @Valtteri Roinin ,

 

You can use custom UI step for this ,

Please refer below screen shots for steps ,Screenshot 2024-11-07 at 10.59.07 AM.png

 

This worked for me,

For Click component select Text<Div> as a element.

Let me know if you need more help

But this will automatically click not after clicking Enter button

 

Thank,

Valmik Patil

 

JAYAKRISHNA TOL
Tera Contributor

@Valmik Patil1 

 

HI,

Do you have any suggestion or solution for key stroke event   in ATF. I have to hit "Enter " on custom UI application as part of the test.

 

Thanks 

Jay 

Hello @JAYAKRISHNA TOL ,

 

Unfortunately It is not possible using ATF.

 

Thanks,

Valmik Patil