Record and Play

Record and playback will only work in the most trivial of circumstances. It is not a viable solution for any practical application. To make your scripts robust enough to run on any machine or environment requires a development effort in it own right. The skills required to write these scripts depend on the complexity of your applications as well.
If the properties of the objects in the AUT change over time, then you can use descriptive programming and regular expressions to make the scripts adaptable.

In recode and Play, all the properties of the objects recorded are stored in the object epository. When playing the recorded script, QTP identifies the objects in the application by looking for them back in the object repository. once identified, the corresponding action to be done is performed on those objects.

No comments: