codeforequity-at / botium-core

The Selenium for Chatbots - Bots Testing Bots
https://www.botium.ai
MIT License
229 stars 64 forks source link

Multiple User Inputs to Bot #216

Closed xmichele closed 5 years ago

xmichele commented 5 years ago

Dear Botium Team, I'm using Botium-CLI to test a widget chatbot in webdriverio containermode. Usually the conversation input are with a textbox write + enter confirm but often the chatbot answers with a some buttons to choose in his answer windows without the possibility to write in the usual textbox. Is there the possibility to specify multiple user inputs paths (i.e. in the convo.txt, botium.json, etc.. ) or is there another solution to the problem?

Thanks!

codeforequity-at commented 5 years ago

Your timing is good. With the next build of Botium there is support for simulating button clicks. You would do something like this in the convo files then:

#me
BUTTON ThisIsTheButtonText

for clicking the button with the given text (instead of sending some text by user input).

xmichele commented 5 years ago

Cool! Looking forward to hear from you : )

codeforequity-at commented 5 years ago

ready

Am Fr., 8. Feb. 2019 um 09:45 Uhr schrieb xmichele <notifications@github.com

:

Cool! Looking forward to hear from you : )

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codeforequity-at/botium-core/issues/216#issuecomment-461731001, or mute the thread https://github.com/notifications/unsubscribe-auth/AZEdT2XvSDAJnmnPk4UG_Uo1IukVCbuRks5vLTlBgaJpZM4anKgH .

--

Florian Treml, Bacc. Techn. Founder and Lead Developer

Botium GmbH

Gerasdorfer Straße 141/8, A-1210 Wien Mail: florian.treml@botium.at Blog: https://medium.com/@floriantreml Github: https://github.com/codeforequity-at/botium-core

Botium GmbH registriert beim Handelsgericht Wien unter FN 486747f Geschäftsführer: Christoph Börner UID: ATU73085118

xmichele commented 5 years ago

Seems great : )