I want to set some custom variables dynamically in my type script and use it in the excel utterance file. I tried setting SCRIPTING_ENABLE_MEMORY to true and created a custom variable in the botium capabilities ‘LINK_TEXT’ and assigned the value to this variable and then used it in the utterance file as $LINK_TEXT but it does not pull the value as expected. Am I missing something here? Please help with this.
@ujja , I am automating both web and mobile chatbots. The LINK_TEXT varies for web and mobile. So, I want to dynamically pull the value based on the type of chatbot. The example you provided is great but I cannot use this as I need to check the chatbot type and use different variables here.
Yes @ram-d , I understand that it would be better for you to use variable from botium.json, but you can do it with scripting memory file too. Mobile, and web test is nearly the same, just one scripting memory file is different.