public string GetIsChecked(string control) { var command = new GetCheckedStatusCommand { AutomationIdentifier = CreateAutomationIdentifier(control) }; var result = SyncExecuteCommand(command); var successResult = result as SuccessResult; return successResult == null ? null : successResult.ResultText; }
public string GetIsChecked(string control) { var command = new GetCheckedStatusCommand { AutomationIdentifier = CreateAutomationIdentifier(control) }; var result = SyncExecuteCommand(command); var successResult = result as SuccessResult; return(successResult == null ? null : successResult.ResultText); }