Any action that requires a simulated click (User.Click), e.g. click cell in grid, click scrollbar in grid, etc. does not seem to work if the test machine is in locked state (Windows Key + L)
This is affecting our build server as it is goes into locked state after 15 minutes of activity and is unable to complete the UI system tests.
Is there any way to allow the simulated clicks to work as intended when a machine is locked?
var dataGrid = _silverlightApp.Find.ByAutomationId<DataGrid>("DataGrid");
dataGrid.Rows[0].User.Click()
or
var dataGrid = _silverlightApp.Find.ByAutomationId<DataGrid>("DataGrid");
dataGrid.Rows[0].User.Click()
This is affecting our build server as it is goes into locked state after 15 minutes of activity and is unable to complete the UI system tests.
Is there any way to allow the simulated clicks to work as intended when a machine is locked?
var dataGrid = _silverlightApp.Find.ByAutomationId<DataGrid>("DataGrid");
dataGrid.Rows[0].User.Click()
or
var dataGrid = _silverlightApp.Find.ByAutomationId<DataGrid>("DataGrid");
dataGrid.Rows[0].User.Click()