Once the testing of the framework is complete and the bugs have been raised, we will start with debugging. This process tries to find what went wrong in the framework by looking at the following:
How it failed
Where it failed
How to fix the bugs
Plan the debugging from the design phase and implement it by developing custom and error logs. Provide the mechanism to filter, enable, and disable the logs and features. This helps to debug the scripts both in the development and maintenance phases of framework designing. QTP provides various options for debugging scripts, actions, and functional libraries.
QTP provides various ways to debug scripts that are a part of functional libraries or actions. To debug the script, execute it from the start to a certain step in the script or from a certain step to the end of the script or action. The following section describes the various techniques provided by QTP to debug the script. Ensure that the application is open at the...