Getting text from browser and matching it to the content of Excel

Hi Robots Master,

I am new to UiPath and have been using it for a month now. Currently working on a project on how to match a text from browser (supplier name) to a text in Excel (supplier name field). Right now, the output of the text from the browser and excel are the same and my if condition is strSupplier.Equals(textExist.ToString), I am unsure whether it is matching or not.

strSupplier is my Excel and textExist is the browser

Any advice is appreciated! (Please direct me to the appropriate forum in the event if I have posted wrongly as i am still trying to navigate through this forum)

If the if the condition that u are specifying is not matching then

There may be some trailing spaces in the string which we are comparing

Use condition like this

strSupplier.Trim.Equals(textExist.ToString.Trim)

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