Hello,
How can I have a login process of web application as a separated desktop flow?
As we may build multiple desktop flow for one web application, I was thinking that it may be efficient to have the login process as a separated desktop flow and call it from other desktop flow using "Run desktop flow" command.
[Login flow] => [Main flow]
In the Login flow, I created an output variable "Login_Browser_Instance" and assigned the value of "Browser" variable to the output variable.
In the Main flow, I called the Login flow using "Run desktop flow". "Login_Browser_Instance" was produced in the "Run desktop flow".
Then, I assigned the value of "Login_Browser_Instance" to "Browser" variable in the Main flow.
In this way, I was thinking that I should be able to pass the browser instance from the Login flow to the Main flow and keep using the browser in the Main flow.
However, when I ran the Main flow, I got an error as "Argument 'BrowserInstance' must be 'Web browser instance'."
The value of both "Browser" variable and "Login_Browser_Instance" variable are both "WebBrowser Instance"; however, it looks like the "Browser" variable and "Login_Browser_Instance" variable are not recognized as a Web browser instance. I also tried to add Web UI actions, but Web browser instance in the "Select parameters" says "No options available".
Would be great if you could provide me any suggestion on this.
Thank you.