What are the disadvantages of record and playback method for automation in QTP? What are the advantages of descriptive progrmamming (VB scripting programming) to automate the application by using QTP?

Showing Answers 1 - 1 of 1 Answers

akothuru

  • Dec 4th, 2008
 

Objects will not be identified if the objects in the application are dynamic in nature.
 
QTP performance may decrease when the object repository becomes to large, due to the no. of objects added.  As the object repository increases, more resources are required to recognize the objects, which may decrease performance.

Separate memory is required to store test objects.

To create scripts using Record and replay application must be up running. Which means will have to wait till application deployed to start creating QTP scripts.

Object descriptions redundancy: suppose application has 3 navigation buttons on each page say Cancel, next & back buttons and while you record it stores same object description for all pages you navigated while recording.

Scripts maintenance is not easy if UI changes:  for example a situation where labels for all objects have changed. We can update with global change by fixing label description in Object Repository Editor. But we will not know if our change was correct until we test it either by running script or by making sure every object is correctly identified (tedious manual process) and also more chances to corrupt object repository


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions