I’ve been having issues with the GetText selector. It’s weird as sometimes when I test run the SHA1Online_GetHashCode.xaml itself, it works but not always. And it never works when I run the entire Main.xaml. Can someone help me to understand why this error happens and how I can resolve it?
Please add a delay (2 or 3 second) before Get Hash Code Activity.
You have to wait for 1 or 2 seconds until the hash code is calculated and selector to be available.
Note - Make sure that you are attached to the browser window.
Thanks. I realized that’s the issue. However, the SHA1Online website uses different time to open. Sometimes it takes up to 1min or sometimes it stuck on a blank page. Adding delay will not solve the problem completely. I’ve been thinking about using find element, but the hash code tag can’t be identified independently by the selector. Any suggestions?
I’m honestly starting to think that it’s a bug. There’s no reason that the UIelement has no problem to be found when running GetHashCode but can’t be identified in the Main.
Thanks. It works. I still don’t understand why it wasn’t working in the Attach Browser. Isn’t the html title set to default as the browser html? And again, it was working in its own workflow.