Forum Discussion

jorgesimoes1983's avatar
jorgesimoes1983
Regular Contributor
10 years ago

Windows 10 - Critical Error - Start Menu and Cortana aren't working

I installed WIN10 yesterday, and last version of TestComplete, everything seems to work fine, although after running my Project Suite, got the error below:   "Windows 10 - Critical Error - Start Me...
  • jorgesimoes1983's avatar
    jorgesimoes1983
    10 years ago

    The problem, happened again... but I solved it like this (at least until Microsoft solves the problem...)

     

    I move the window down, so the tests can run as expected.

     

    Maybe it helps someone

     

    /**
    * Moves 'Critical error' window down<br>
    * @method erroCriticalErrorWin10()
    */
    function erroCriticalErrorWin10(){
    var propriedade = new Array("WndClass", "Name");
    var valor = new Array("Shell_Dialog", 'Window("Shell_Dialog", "Critical Error", 1)');
    var limite = 0;

    objCriticalError = Sys.Process("explorer").Find(propriedade, valor, 20, true);
    if(objCriticalError.Exists){
    Log.Message(objCriticalError.Name);
    objCriticalError.Position(0,1020,0,0);
    }
    }