Example #1
0
        public void ButtonToAutomationElementTest()
        {
            ObjectDescriptor descriptor = ObjectDescriptor.FromJson(
                @"
                 {
			        ntype: ""uia"",
			        nname: ""button1"",
			        ""identifyProperties"": {
                        ""name"": ""1""
                    }
			        description: ""button""
		        }"        );

            UIATestObject testObject = UIATestObject.ToTestObject(descriptor);

            testObject.TryInvoke();
        }