![]() ![]()
Below is an example of creating a test session for WindowsĪlarms & Clock app written in C#: // Launch the AlarmClock appĭesiredCapabilities appCapabilities = new DesiredCapabilities() ĪppCapabilities.SetCapability("app", "Microsoft.WindowsAlarms_8wekyb3d8bbwe!App") ĪlarmClockSession = new WindowsDriver(new Uri(""), appCapabilities) ĪlarmClockSession.FindElementByAccessibilityId("AddAlarmButton").Click() ĪlarmClockSession.FindElementByAccessibilityId("AlarmNameTextBox").Clear() Specify the Application Id for the app under test in the appĬapabilities entry. To test a UWP app, you can use any Selenium supported language and simply
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |