BUTTON Tab1|Tab2

Hi
While writing BUTTON Tab1|Tab2 in test script, does BOTIUM tool clicks also on tabs and also checks it functionality too? Or simply it checks whether only tabs are being displayed?
Does same is done while displaying URLs, png images etc. too?
Thank You,
Vivek Chauhan
INDIA

When used on #bot-side of a conversation:

#bot
BUTTONS Tab1|Tab2

Botium will check if there are buttons or quick replies available with text Tab1 and Tab2 - what qualifies as “Button” or “Quick Reply” depends on the Botium connector technology.

When used on #me-side of a conversation:

#me
BUTTON myButton

Botium will simulate a click on a button with text myButton - again, what this means depends on the Botium connector technology.

1 Like

Hi Florian,
Consider the clickable buttons are on #bot-side of a conversation:

#bot
BUTTONS Tab1|Tab2

Will BOTIUM automatically simulate the clicks for IBM Watson based chat bot?
Can you please elaborate the term Botium connector technology?

An IBM Watson based chatbot doesn’t have a notion of a “button click” - or better to say, IBM Watson doesn’t care if the input is coming from a button click or from text input, it is usually processed in the same way. But for other technologies like Dialogflow or Bot Framework it makes a difference. So, in the case of IBM Watson, when Botium sees something like this:

#bot
BUTTON Tab1

then it will just send the text “Tab1” like it has been entered by the user as text.

Multiple buttons (BUTTON Tab1|Tab") don’t make sense as Botium can only simulate one button click per conversation step.

What we call Botium Connector is the interface technology we are using for running a conversation with a chatbot. There are more than 30 Botium Connectors available right now, with Botium it is possible to test pretty much all relevant chatbot technologies out there (such as Dialogflow, IBM Watson, Microsoft Bot Framework …).

1 Like