Exemplo n.º 1
0
        public void CompareElements()
        {
            WindowsElement header = session.FindElementByAccessibilityId("AppNameTitle");

            Assert.IsNotNull(header);
            Assert.IsFalse(header.Equals(referenceElement));
            Assert.IsFalse(referenceElement.Equals(header));
            Assert.AreNotEqual(header, referenceElement);
            Assert.AreNotEqual(referenceElement, header);
        }