BC30512: Option Strict On disallows implicit conversions from 'String' to 'Integer'

Hi ,

when i trying t get data from in config file i will get below error.

Error code :Error ERROR Validation Error BC30512: Option Strict On disallows implicit conversions from ‘String’ to ‘Integer’. The selected value is incompatible with the property type. Framework/InitAllSettings.xaml

Any idea about this error ?

Madhana Gopal s

Hi @Madhan1 ,
You can share image about your sheet?

change to @Madhan1



What are you trying to do?

If you need to use config then use out_config("ProjectURL").ToString

Also what are you doing this in initallsettings…

This shpuld be done in initallapplications

You are using a array variables and trying toa ccess as dictionary …that is the reason for error


hi @Madhan1

the error is showing that
as you are calling array of string instead of string

can you replace it with out_Config(“PROJECTURL”).tostring

Hope this helps

I am trying to get URL from Config sheet .

already trying to get data from intiallsetting workflow .but still got error “Use Browser Edge: ACME System 1 - Log In: Object reference not set to an instance of an object.”

still same


try to use the sequence outside of the main sequence


better to use outside of intiallsettings

see you need to use as i mentioned

with outconfig(“PROGRAMURL”).tostring

can you see the output

Hope this helps

you need to read the config file into the out_Config variable before you can use out_Config, so move this “user browser edge” scope to be after initAllsettings…

thank you it’s working


Happy automation

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