The question that I am being asked a lot is: “In my Plan Settings I am recording the test steps of my manual tests, what can I do with the Coded UI recording that is created?”
The answer to this question is simple, you can easily create Coded UI tests and change them to suit your automation test effort based on these recordings.
How to create a Coded UI test out of an existing recording?
Step 1: Create or open a Test Project
Step 2: Add a new Coded UI Test
Step 3: In the window that Pops Up choose: “Use an existing action recording” radio button and click OK.
Step 4: Find the Test Case that contains the Coded UI Recording in the window that pops up and click OK.
Finally you will get a code for Coded UI based on the Recording, now all you have to do is modify the code to suit your needs.
Note: The files in the screenshot are the files that will be generated.