Support for calling other TagUI scripts within a script
See original GitHub issueIt would be great to have the the ability to create a library of functions that include actions, blocks of code that I can reuse from script to script.
example:
include include.filename
This feature would allow us to create reusable code and provide the ability to rapidly create new scripts based on previous work.
best regards, Terry
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Support for calling other TagUI scripts within a script · Issue #80
The ability to call other TagUI scripts for reusability, and an extension framework are two areas which I had been holding back on...
Read more >Advanced concepts — TagUI 6.110.0 documentation
You can write Python code in TagUI flows. Python needs to be installed separately. The py step can be used to run commands...
Read more >Tagui - npm.io
TagUI converts your intentions from various human languages to lines of working JavaScript code that perform UI automation. Under the hood, it uses...
Read more >Running TagUI File Scripts - VerdaPress
Run a Script File. In the terminal type: tagui example.tag. Press Enter. Typing tagui and the name ...
Read more >tagui - UNPKG
83, // append comment on flow path variable in casperjs script ... 92, // section to handle calling of other TagUI automation scripts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, will do over the weekend and get back to you on this.
BR, Terry
On 6 Mar 2018, at 23:50, Ken Soh <notifications@github.commailto:notifications@github.com> wrote:
Hey Terry no probs at all, I’m closing the issue to focus on working on some of the outstanding ideas to explore. Do let me know if you run into issue calling subscripts using the above tagui step and I’ll reopen the issue to track when needed.
Let me know too your thoughts, if there is a way to improve on the current implementation. I chose the word tagui instead of programming convention call or include or require, so that the same word can be used even for other languages. As TagUI supports writing scripts in over 20 human languages, something like call or include can be translated and I got a hunch doing that can introduce bugs later on.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/kelaberetiv/TagUI/issues/80#issuecomment-370826685, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiI5Tc7KtzUfu6-hB_NMPmshSzNdw7Pjks5tbrAwgaJpZM4SUKWR.
Adding on, besides following naming convention -
Users can also use something like below to make it easier to organize their ‘action libraries’. By naming the filename as some context . followed by some action.
For example, below will expand a TagUI script named as mainscreen.login to perform the login actions.