Search code examples
visual-studioperformance-testingazure-devopsweb-testing

How can a coded test be converted into recorded test


I am using VSTS for performance testing and I recorded a particular flow for which the coded script was generated from the recorded script and modified. Now, I want to convert back the modified coded script into the recorded one with the necessary changes made to it. My assumption is that - the modifications done to the coded scripts are not reflected in the recorded script, hence the need.


Solution

  • There is no automated way of regenerating or updating the recorded script from edited code.

    You might create a new version of the coded test from the current recording, then compare that new file (or files) against the modified code. Then hand edit the recording to do the same thing. Repeat the generation, compare and edit as necessary.