Part of a Workflow that I am building needs to measure the time elapsed between two the opening of a Webpage and the appearance of Ui Element on the page. I have made use of the Stopwatch object in VB.NET to measure the time that has elapsed between two time intervals. From the Stopwatch object I have obtained TimeSpan value. My question is how do I compare the TimeSpan value with a set value.
I am required to do certain actions if the time spent between opening of the Webpage and the appearance of Ui Element on the page is more than 30 seconds
But how do I write a boolean expression something like
Timespan > 30 seconds into the condition of the IF activity? I tried doing the following but it shows an error