Ui automation modern "Compile error(s) encountered processing expression "1000". Option Strict On disallows implicit conversions from 'Integer' to 'String'"

Hi everyone!
I’m just going through UI Automation with the Modern Experience and this is the very first lesson. First I put the “Use application” activity and then a “Type into” activity. But when I type a text for the “Type into” I get an error - “Compile error(s) encountered processing expression “1000”. Option Strict On disallows implicit conversions from ‘Integer’ to ‘String’.”
If I try typing letters there is still an error, though the messages changes to - “Expression ‘aaa’ is not declared. It my be inaccessible due to its protection level”.
Could somebody help me with this issue? I’m quite new to Ui path.

Welcome to the world of automating. For this activity and many others, it is expecting you to enter a string which is done by enclosing your string/characters in quotes. Try the following instead:

“1000”

Happy automating!

1 Like

Thank you, that worked!

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