Forum Discussion

m_essaid's avatar
m_essaid
Valued Contributor
6 years ago

COM Object - TestExecute needs an elevation

Hi,

I have 3 machines, on 2 the ATR script works fine. On the third one when I try to simply launch a TestExecute instance through COM object it says that I need an elevation.

Of course, I don't need this elevation on the 2 others machines. And I have this message even if I launch the script with elevation on the third machine.

 

The script is simply the following :

 

var AppObject;
AppObject = new ActiveXObject("TestExecute.TestExecuteApplication");
WScript.Echo("done");

 

My machine is actually not working, please help...

 

Thank you,

 

Mehdi

2 Replies

  • m_essaid's avatar
    m_essaid
    Valued Contributor

    Finally I used a windows restore point before an update and it works again.

  • Bobik's avatar
    Bobik
    Frequent Contributor

    In TestExecute options: Try to disable the option "Options|Engines|General|Enable support for testing Windows Store applications" if you don't need to test them.