Open Browser: value does not fall within the expected range...1

Hello,

Please help me out…

Thanks,
Suresh.

Hello,

your LoginUrl Is NULL ?

Thanks.

Hello @sunilRdGlobal , Thanks for the response…

your LoginUrl Is NULL ? — NO

i have url image

Regards,
Suresh.

LoginUrl has not been declared - you can see it is NULL in the top-left of your image. Go back through your script and see where this variable is declared or created - that’s where your issue is :slight_smile:

Good luck!

Let me check thanks…

1 Like

Hello,

you had read excel file in Datatable , you use foreachrow activity, and then you use open browser activity.
assign loginurl value from datatable which is get from excel readrange.

please put open browser activity in foreach activity.
Please try this may be its working.

Thanks,

Actually Suresh, I was a little hasty there. I was looking at the wrong variable. It looks like LoginURL is a data table, rather than a string? If this is the case, you will need to convert it first.

You can use this format:
"Datatablename".Rows(“rownumber”).Item(“columnName/columnNumber”)

So, if you have a data table where the URL is in the first row, and in the second column, you could write

LoginURL.ROWS(0).Item(1).ToString

Try that and let me know if it works.

J

1 Like