Academy Advanced - Assignment 1 - Open Browser Error

Hello,

I’m having trouble with opening the browser with the System1_URL argument.
I`m getting the following error: ! Open Browser: Value does not fall within the expected range.
I don’t know how to take the value of the URL from the Config Excel file and set it as default value to the argument ?
For the Credentials I used the GetAppCredentials.xaml.
Please help me!

Thank you!

Hi @gavrvlad

Have you added a line in the config excel located in the data folder in the project directory?

The config file should look something like this:

1 Like

In the Open Browser you are using System1 URL (with out underscore if you compare with variable).
Please use System1_URL.

And make sure that System1_URL is assigned.

Regards,
Karthik Byggari

Hi @gavrvlad
This error comes when you do not provide value for your arguments of “In” type. What you can do is

  1. Add the urls as suggested by @reda.
  2. On the main.xaml navigate to " system 1_login" workflow.
  3. Click on edit arguments and add value as in_config(“system 1_url”).toString for your system1_Url argument.
    Hope it will help.

Thank you for your help. I have solved the problem. When invoking the InitAllSettings workflow, I used the in_Config argument as the default value for the out_Config in the import arguments. Now all works fine.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.