locked
can't execute CODED UI TESTS

    Question

  • Hi all,

    I have a tests and they have worked without errors. But one day, I'couldn't execute my tests. Each test which I try to run, take me the same exception:

    W, 4176, 162, 2012/03/01, 13:40:47.043, 21468306868, QTAgent32.exe, ExtensionFramework : A Technology Manager with name Web is already registered.
    E, 4176, 162, 2012/03/01, 13:40:47.136, 21468586291, QTAgent32.exe, LoadLibrary() : Unable to find the resource 37382 from assembly C:\Windows\system32\en-US\ieframe.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.136, 21468587359, QTAgent32.exe, LoadLibrary() : Unable to find the resource 41728 from assembly C:\Windows\system32\en-US\ieframe.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.136, 21468587730, QTAgent32.exe, LoadLibrary() : Unable to find the resource 8131 from assembly C:\Windows\system32\en-US\ieframe.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.136, 21468588105, QTAgent32.exe, LoadLibrary() : Unable to find the resource 8131 from assembly C:\Windows\system32\en-US\ieframe.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.136, 21468588710, QTAgent32.exe, LoadLibrary() : Unable to find the resource 8131 from assembly C:\Windows\system32\en-US\ieframe.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.137, 21468589647, QTAgent32.exe, LoadLibrary() : Unable to find the resource 803 from assembly C:\Windows\system32\en-US\user32.dll.mui: Error1814
    E, 4176, 162, 2012/03/01, 13:40:47.148, 21468624233, QTAgent32.exe, AL: BrowserWindow.CurrentBrowser - Playback is not initialized and hence it is not updated
    W, 4176, 162, 2012/03/01, 13:40:47.236, 21468889946, QTAgent32.exe, ExtensionFramework : A Technology Manager with name Web is already registered.
    E, 4176, 162, 2012/03/01, 13:40:47.238, 21468896716, QTAgent32.exe, Msaa.AccWrapperFromWindow: AccessibleObjectFromWindow returned null object
    E, 4176, 162, 2012/03/01, 13:40:47.239, 21468897616, QTAgent32.exe, Msaa.AccWrapperFromWindow: AccessibleObjectFromWindow returned null object
    E, 4176, 162, 2012/03/01, 13:40:47.341, 21469208360, QTAgent32.exe, Msaa.AccWrapperFromWindow: AccessibleObjectFromWindow returned null object
    E, 4176, 162, 2012/03/01, 13:40:47.342, 21469208866, QTAgent32.exe, Msaa.AccWrapperFromWindow: AccessibleObjectFromWindow returned null object
    W, 4176, 162, 2012/03/01, 13:40:47.379, 21469322044, QTAgent32.exe, IEDOM : StopSession of the plugin called before StartSession
    W, 4176, 162, 2012/03/01, 13:40:47.379, 21469322371, QTAgent32.exe, UIA : StopSession of the plugin called before StartSession
    W, 4176, 162, 2012/03/01, 13:40:47.380, 21469323753, QTAgent32.exe, SLPlugin : StopSession of the plugin called before StartSession

    May be someone know how to solve this problem, because I already haven't ideas.

    jeudi 1 mars 2012 11:48

Réponses

Toutes les réponses

  • Hello,

    Just go to process explorer and kill the QTAgent32.exe process.


    Issamo san

    jeudi 1 mars 2012 11:52
  • Unfortunately, I can't kill this process. I tried to use Task manager and Process Explorer, but when I try to kill QTAgent, he starts alive again after few seconds.
    jeudi 1 mars 2012 12:04
  • Try to kill it after closing all visual studio instance.

    Issamo san

    jeudi 1 mars 2012 12:07
  • Yes, I did it. But when I close VS, then QTAgent32 kill himself automatically, because I can't find this process in Process Explorer. May be problem is not related with QTAgent?

    jeudi 1 mars 2012 12:13
  • you didn't add new tests ?

    Issamo san

    jeudi 1 mars 2012 12:14
  • I can add new test, but I can't run it.
    jeudi 1 mars 2012 12:16
  • yes, i turn off some option in VS and now QTAgent is killed.  But it doesn't help me. I don't know, in Debug Trace some exceptions that unable to find resources, may be some dll.mui were interrupted? how to check it? Or some other ideas?

    jeudi 1 mars 2012 13:48
  • Can you try by unchecking the "keep test execution engine running between runs " check box from "Tool>options>Test tools>Test Execution>"?

    jeudi 1 mars 2012 15:11
  • Yes, when I said, that turn off some opion in VS - I meant "keep test execution engine running between runs ". And QTAgent is not working, but my problem is stayed.
    • Modifié Z.Zidane jeudi 1 mars 2012 15:42
    jeudi 1 mars 2012 15:39
  • May be some other ideas?
     I think problem related with DLL files.
    • Modifié Z.Zidane vendredi 2 mars 2012 08:04
    vendredi 2 mars 2012 08:04
  • Hi,

    Did you change anything in your VS settings? If you run it with default settings or another PC, does it have the same issue?

    See this article about the similar question: http://social.msdn.microsoft.com/Forums/da-DK/vsautotest/thread/606c143a-54e3-4d31-be82-7902e51c381b.

    Thanks,


    When you help others, it's help yourself!

    mardi 6 mars 2012 08:47
  • It's not helped me. Can't solve this problem.
    vendredi 30 mars 2012 09:09
  • Z.Zidane,

    Have you gotten this issue solved?  I am having the same problem and cannot figure out the cause.

    lundi 16 juillet 2012 13:11
  • Hi,

    Try removing the libraries from the references section and re-add them again. It worked for me once in a similar case.

    Regards,

    Pankaj


    Utility to run CUIT Ordered Tests for multiple iterations (Now with automated result mailing) @ http://cuitbatchrunner.codeplex.com/

    lundi 16 juillet 2012 14:17
  • Hi Pankaj,

    Thanks for responding to my question.  Would you please provide instructions.

    Where can I find the reference?

    jeudi 19 juillet 2012 13:20