Hi guys,
What i want to do is, access a particular label or text box from a website, whose ID may or may not be known, and compare that value with another fixed value. Suppose that label says "OFF" , I want to keep comparing that value with off, until it becomes on and the comparator returns false. I tried using Coded UI Testing, but the problem is I'm not able to run the asserted function automatically. Say I create a windows forms project with a button, and on button click, I should be able to run this Testing function. I tried adding reference (in forms project) from the Coded UI project class using its dll, but it gave errors on building. Please suggest some method to resolve this, thanks in advance.