Why script error occur in between recording in qtp?



Why script error occur in between recording in qtp?..

Answer / Harvesh Kumar

Script errors during recording in QTP can be due to several reasons, such as:

- Incorrect object identification: If the objects in the application are not identified correctly during recording, it may lead to script errors.
- Changing application environment: If there are changes in the application, such as new versions or updates, the recorded scripts might not work as expected and produce errors.
- Modifying the VBScript code: Manual editing of the VBScript code in QTP's object repository can result in script errors.
- Running scripts on a different machine: Scripts that are developed on one machine may not work properly when run on another machine due to differences in configurations or operating systems.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.

1 Answers   HCL,


How to handle the errors without using recovery scenery?

3 Answers  


Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT

1 Answers  


if full in Object Repostoiory then how to load other Object Repository

2 Answers  


Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on

0 Answers  


What is repository parameters in QTP?how will we define that????what is unmapped & mapped repository parameters????????

1 Answers  


Explain about datafile/verification of date file when file is not available in local system?

1 Answers  


what are build and version plz explain why nomber changes in build and version?

3 Answers  


how can i impliment error handling in QTP?

5 Answers   Ordain Solutions,


How many types of Parameters are available in QTP?

1 Answers  


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

1 Answers   IBM,


How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?

2 Answers   TCS,


Categories