How to use command line variables in Kantu Libraries ( Sub )?

Hi,

I have test cases which i want to run against different environments and there IP address also gets changed every time. However is it possible to use value ( Url ) from the command line and replace it as value in library ?

Steps -

  • Run macro from command prompt and pass application URL which i want to launch as parameter.
  • replace command line url in library to launch the application for testing.

Help will be highly appreciated. Thanks.

Yes just set the URL in a variable via command line:

https://ui.vision/rpa/docs#!cmd_var1

In your macro open that URL:

open | ${!cmd_var1}