Angular JS and coded UI RRS feed

  • Question

  • Hi 

    our website is developed using angularJS and HTML5 . I am trying to record a coded UI for the login.

    Recording is good and code is generated properly, however when i run the script, it presses the login button but login is not successful.

    Infact nothing happens on the login page, and userid and password field becomes empty without user being on the next page.

    However, if i login manually - things works perfect.

    i tried to debug the jscript in IE11 and i found one error (when running from coded UI)

    "Accessing the 'arguments' property of a function is not allowed in strict mode"

    Does any one else have the same issue -?

    any solution?

    Friday, June 13, 2014 6:15 PM

All replies

  • it works

    Tests work again. The problem was not the update, it was a label inserted in app.config  


    <add key="WebWaitForReadyLevel" value="3"/>


    We added it to work with AngularJs and CodedUI Tests, but it makes that lot of tests fail.



    • Edited by Mikhailenko Vladimir Friday, August 22, 2014 9:09 AM solved the problem
    • Proposed as answer by Ahetejaz Friday, February 27, 2015 3:41 PM
    Wednesday, August 20, 2014 12:57 PM
  • Please check the below links it should solve your problem.

    The work-around is to add the following to the App.config file for your test project:

    <?xml version="1.0" encoding="utf-8" ?>
        <add key="WebWaitForReadyLevel" value="3"/>

    Links: For more details please visit this links:





    Ahetejazahmad Khan.

    • Proposed as answer by Ahetejaz Friday, February 27, 2015 3:45 PM
    Friday, February 27, 2015 3:45 PM