Pasting a value from excel to a website and verifying the data

Hi All,

The aim of my project is as follows

  1. Copy a value from an excel worksheet in a specific column name
  2. Paste each value from the excel worksheet into a website and search
  3. Verify the data

On step 2. I attempted to use the Assign activity to pass the value to the website i need to search on but I’ve encountered a compiler error "Compiler error(s) encountered processing expression “row(“LineId”.ToString)”.Option Strict on disallows implicit conversions from ‘Object to String’.

My .xaml sample file is attached

Any idea what i’m doing wrong? New to UiPath so apologies in advance if the solution is quite obvious and i’m unable to work it out

ProjectTemplate.xaml (20.6 KB)

Thanks.

1 Like

@Supernova

row(“LineId”).ToString

Thanks. :man_facepalming:

after adding the missing bracket i then received the following message "Compiler error(s) encountered processing expresion “row(“LineId”).ToString”.End of expression expected.

What’s next?

Hi @Supernova

Try to retype the quotes, forum sometimes has different ones without the code markup :slight_smile:
It should be like that:
row("LineId").ToString

Thanks again. Still learning, its fun but can be frustrating. :grinning:

That last error has now disappeared but I’m now faced with a different one.

"Compiler error (s) encountered processing expression “row (“LineId”).ToString)”. Option strict disallows implicit conversions from ‘Object’ to ‘String’.

What’s next please?

Happy to report that I’ve managed to resolve this issue myself.

Thanks for the help.

Had to create a new variable under the assign activity

1 Like