04-10-2012, 04:25 PM
Hi All,
Right now i am implementing QTP tool in our web based application. I have parameterize the data by using data table. There are 52 rows and each rows has 44 columns. In this case while running the script, first 5 to 10 row's records are inserted with in 2 to 3 mins after that QTP is taking 27 mins for inserting residual records. The performance is very slow after inserting the 26th row record. What i have done on data table during the runtime is, i will insert a string values on 43rd(Records saved successfully) and 44th(PASS) column on every row. But if i commented the data table insertion script then QTP takes only 16 mins to insert all 52 rows values else takes 30 mins. What will be the reason for the performance decrease?
I have attached QTP script as well
Thanks in advance for you valuable feedback and suggession
Note:
I have taken some steps to improve script performance which has been mentioned below
1. QTP scirps are executed by VBS file
2. DataTable records are imported during runtime
3. I have written script with in "class" inorder to avoid memory problem (to clear memory after inserting each row)
4. Script will run on "FAST" mode
5. I have deleted unnecessary objects from object repository
6. I have disable smart identification option
7. Save image capture and movie record option has been disabled
Right now i am implementing QTP tool in our web based application. I have parameterize the data by using data table. There are 52 rows and each rows has 44 columns. In this case while running the script, first 5 to 10 row's records are inserted with in 2 to 3 mins after that QTP is taking 27 mins for inserting residual records. The performance is very slow after inserting the 26th row record. What i have done on data table during the runtime is, i will insert a string values on 43rd(Records saved successfully) and 44th(PASS) column on every row. But if i commented the data table insertion script then QTP takes only 16 mins to insert all 52 rows values else takes 30 mins. What will be the reason for the performance decrease?
I have attached QTP script as well
Thanks in advance for you valuable feedback and suggession
Note:
I have taken some steps to improve script performance which has been mentioned below
1. QTP scirps are executed by VBS file
2. DataTable records are imported during runtime
3. I have written script with in "class" inorder to avoid memory problem (to clear memory after inserting each row)
4. Script will run on "FAST" mode
5. I have deleted unnecessary objects from object repository
6. I have disable smart identification option
7. Save image capture and movie record option has been disabled