我的编码UI测试应该从IE10保存/下载文件(Pdf,Excel),我正在使用此代码:
var savePopUp = new UITestControl(GetBrowserWindow()) { TechnologyName = "MSAA" };
savePopUp.SearchProperties.Add(UITestControl.PropertyNames.ControlType, "ToolBar");
savePopUp.SearchProperties.Add(UITestControl.PropertyNames.Name, "Benachrichtigung");
var saveButton = new UITestControl(savePopUp) { TechnologyName = "MSAA" };
saveButton.SearchProperties.Add(UITestControl.PropertyNames.ControlType, "SplitButton");
saveButton.SearchProperties.Add(UITestControl.PropertyNames.Name, "Speichern unter");
Mouse.Click(saveButton);
如果我在本地运行此测试我的代码工作正常但远程控件将无法找到。
如何远程进行测试?