-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to send arbitrary event/invoke with a JSON Payload #2174
Comments
I have had exactly this problem recently when trying to emulate the webchat/join event specified in the microsoft documentation and referenced in this issue: I've had to emulate using a razor page and a bot registration routing to an ngrok endpoint in order to reliably test this. We're using the webchat/join even to indicate the page the webchat is being activated on to provide a more contextual experience. |
This feature will be available in tonight's nightly build. Check out #2213 for details |
There is currently an issue with the nightly pipeline that we are working to fix. Stay tuned |
The latest nightly here includes this feature: https://github.com/microsoft/botframework-emulator-nightlies/releases/tag/v4.11.0-199884 |
Problem
There is no way to send arbitrary events or invoke using the emulator. We need to support these to enable transcript-based testing as well as to allow triggering custom events. One issue is that some events might need to be before or instead of the event sent on restart conversation. For example, SetTestOptions event sets a random seed and that needs to have the conversation id sent by updateConversation but also need to be before it so the bot response to updateConversation is not random.
Solution
Please add to the Conversation send activity menu a way to send an event or invoke with an arbitrary JSON payload.
[enhancement]
The text was updated successfully, but these errors were encountered: