Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. MyProjectTestsUnitaires.CodedUITest1.CodedUITestMethod1 test method threw an exception:
  2. Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException: Control is blocked by another control. Make the blocked control visible and retry.
  3.  
  4. WpfTabList uIRibbonTabList = this.UIProjectWindow.UIRubbanCustom.UIRibbonTabList;
  5. WpfTabPage uIONGLET2TabPage = this.UIProjectWindow.UIRubbanCustom.UIRibbonTabList.UIONGLET2TabPage;
  6. WinListItem uIImagesjpgListItem = this.UIOuvrirWindow.UIItemWindow.UIVuedélémentsList.UIImagesjpgListItem;
  7. #endregion
  8.  
  9. ApplicationUnderTest MyProjectApplication = ApplicationUnderTest.Launch(this.RecordedMethod1Params.ExePath, this.RecordedMethod1Params.AlternateExePath);
  10.  
  11. // Clic 'Ribbon' liste d'onglets
  12. Mouse.Click(uIRibbonTabList, new Point(0, 82));
  13.  
  14. // Clic 'ONGLET2' onglet
  15. Mouse.Click(uIONGLET2TabPage, new Point(-152, 58));
  16.  
  17. // Clic 'ONGLET2' onglet
  18. Mouse.Click(uIONGLET2TabPage, new Point(-129, 53));
  19.  
  20. // Double-clic 'images.jpg' élément de liste
  21. Mouse.DoubleClick(uIImagesjpgListItem, new Point(25, 60));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement