Loginpageopen


Hello all,
I am getting this error when try to run, please anyone can help me

@Madhu_Maurya

Are you using any variables in open browser?

Can you please show the properties what all you used

Cheers

Hi @Madhu_Maurya

Hope you are using a variable to open the browser

If yes check with the variable whether it contains a value!

@Madhu_Maurya

Check whether the argument mapped to variable and print the argument to see if its fetching the URL value

can you show me how i can map argument to variable plz

@Madhu_Maurya

  1. In the main window we see a variabpe or argument…
  2. In the propertiess panel we see a hardcoded url value

Can you please check the same

Also you can open the argument panel and can give a default value there as url and it should be taken when you run…as of now you are not providing any value to in_SystemURL

Cheers


i provide all the details in config file

@Madhu_Maurya

Is that config value linked to the argument in the invoke workflow?

And are you running the process from start or only this xaml?

If only this xaml then you are not reading config here right…so it would be empty

Cheers


so need to run this main file first to read config file???

@Madhu_Maurya

Yes…we nees run from main…in the init state the config is read…and afater that you need to use invoke workdlow where you want the workflow to run and link the argumnet with required value in import arguments

You would do something like this in import arguments

In_systemurl = config("System1_URL").ToString

Cheers


see already provide but still getting same error

@Madhu_Maurya

are you runnign from main only?

and is the config linked from main to init all apliications?

if you are running from inallapplicatiosn again it will be emoty only

cheers

I am running from main and see initallsettingworkflow

@Madhu_Maurya

please put a log message befor open browser and check if it is showing the in_SystemURL value in the output panel…if it is not showing then there is an issue

Would suggest run the bot in debug mode…keep a break point on the invoke initallapplications activity and check the locals panel if config is havign data

then again keep one more break point inside the initallapplications.xaml and see if the config values are proper

cheers

1 Like

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