mardi 12 février 2019

botium webdriverio connector BUTTON click

How to trigger button click ?

from this link: https://github.com/codeforequity-at/botium-core/wiki/Botium-Scripting

it says that you just need to put

#me
BUTTON btnTitle

but what actually happened is that it sends literal BUTTON btnTitle as text to the bot

not clicking button

for context, i implemented a custom WEBDRIVERIO_GETBOTMESSAGE and send back this

{
  "sender": "bot",
  "buttons": [
    {
      "text": "reply1"
    },
    {
      "text": "reply2"
    }
  ],
  "cards": [],
  "media": []
}

Aucun commentaire:

Enregistrer un commentaire