Best way to integrate UI.Vision RPA into Cucumber

To clarify, you do not need to make an HTML for each macro you want to call. Any generated HTML file can be used as “dummy” file, and then you use the &macro=macro1 command line switch to select the test case (macro) that you actually want to run. The local HTML file itself is just used to start the browser and the UI.Vision RPA extension inside it (that is needed because the RPA extension lives inside Chrome/Firefox).

Does this solve the issue? If not: What exactly do you consider inefficient about this process?

Given I`m on the homepage of UI.Vision PRA (){
→ run &macro=folder1/macro1 from command-line
}
When… (){
→ run &macro=folder1/macro2 from command-line
}
Then (){
→ run &macro=folder1/macro3 from command-line
}