I get error on verification regarding ui activities if i use verify. This is in C# bases project and only in later package version. Is there anyone out there that knows if this is a common issue or not? Does not matter what type of verification i use and as soon as i turn the function of it works flawlessly. No other errors when doing analyze on the project.
Can you try and remove the quotes around your text and recreate them?
Often when text is copied eg. from a website, the “wrong” quotes are used.
Is is not apparent visible, but they do differ.
I was a bit fast on adding this forum post, my bad. After tinkering a bit it started working. It was very strange, both my click in login and type into username had the same error for many debug runs.
This is a known issue with newer UIAutomation packages in C# projects. The Verify feature still tries to use VB expressions, which causes the compilation error. Execution works fine once Verify is turned off. For now, the workaround is to disable Verify, downgrade the UIAutomation package, or use a VB project if you really need verification.
Try to downgrade UiPath.Testing.Activities to 25.10.21 or 24.10.x and align package versions. Might be the VBValue error appears because VB expressions exist in a C# project. Just replace VB syntax with C#, disable - Allow VB expressions,and rebuild.