Skip to content
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

Multiple utterance key value pairs in single utterance file #742

Open
ram-d opened this issue Mar 27, 2023 · 2 comments
Open

Multiple utterance key value pairs in single utterance file #742

ram-d opened this issue Mar 27, 2023 · 2 comments
Labels

Comments

@ram-d
Copy link

ram-d commented Mar 27, 2023

Hi @codeforequity-at , @ujja ,

Is it possible to have multiple utterance variables in a single utterance file in botium as opposed to using separate utterance file for each utterance?

For example,

UC_test1_UTT
test this
also this

UC_test2_UTT
test this as well
and this one

Currently, if I create the utterance file with the above, it considers everything below 'UC_test1_UTT' as individual utterances including 'UC_test2_UTT'. I would like to know if we could differentiate between 2 different utterances in the same file. This will really help with our automation. Please check and let us know. Appreciate your help.

Thanks,
Ram

@ujja
Copy link
Collaborator

ujja commented Mar 28, 2023

Hello,

If you use text format, then it is not possible to use more utterance names like UC_test1_UTT and UC_test2_UTT in one file.

But there are other script formats, supporting more utterance names in one file, like JSON:

{
"utterances": {
  "UC_test1_UTT": [
    "test this",
    "also this"
  ],
  "UC_test2_UTT": [
    "test this as well",
    "and this one"
  ]
}

@stale
Copy link

stale bot commented Jun 18, 2023

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 stale bot added the wontfix label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants