botium-core icon indicating copy to clipboard operation
botium-core copied to clipboard

Passing UTT name dynamically in the test

Open ram-d opened this issue 2 years ago • 2 comments

Hi @ujja ,

Is there a way I can pass utterance name, for example 'TEST_UTT_WEB' or 'TEST_UTT_MOBILE' dynamically from capabilities? I have two utterance files, one for WEB and another for MOBILE. I want to pass the utterance name dynamically in my test file so I can test for both web and mobile. When I tried to pass this from capabilities, it is being passed as string, so it does not recognize the utterance. Are there any other ways we can do this?

Thanks, Ram

ram-d avatar Jan 12 '23 14:01 ram-d

Hello Ram,

I suppose you use botium-bindings? The best you can do is to create 2 separate dirs, and use convodir arg to point to the correct test.

ujja avatar Jan 13 '23 09:01 ujja

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 07:06 stale[bot]