Run a codedUI script RRS feed

  • Question

  • Could anyone explain what I have to do to run script after recoding? I really appreciate your time.

    I found a vedio clip showing how to record and run a coded ui script.  I tried to do similar but I could not run.  when attempted, VS 2010 displayed error message "Cannot start test project 'myCodedUITest' because the project does not contain any test". 

    here what I did:

    * created a new project

    * add a coded ui test

    * launched "Calculator" (window calculator)

    * entered a number | clicked "*" button | entered a number | clicked on "=" button

    * generated the code | saved

    * Ran the script


    Monday, July 26, 2010 3:10 PM


  • Are you trying to run test on a 64bit machine ? If yes, can you please check what is the platform target set for your test project. You can check it as follows:

    1. Go to properties of the test project (By right clicking on the item in solution explorer and select properties from the context menu)

    2. Go to  Build option and check for PlatformTarget. It should not be set to 'X64' bit.



    Monday, July 26, 2010 4:10 PM