mag sak
User
Offline
Posts: 21
|
 |
« on: June 04, 2009, 05:24:05 AM » |
|
Hi,
We have to call around 1500-2000 External Resuable Actions in a single script.
So just wanted to know is there any limit of External Actions?
Please share your experiences
Thanks in advance
|
|
|
|
|
Logged
|
|
|
|
|
Manoj Kulkarni
|
 |
« Reply #1 on: June 04, 2009, 06:14:30 AM » |
|
Hi, Not sure, but it's 255 I guess. Even QTP starts working weirdly after attaching 40+ external actions. I guess the external action limit willbe due to XLS limit. (255 Sheets in a workbook).
|
|
|
|
|
Logged
|
Regards, Manoj 
|
|
|
|
Tarun Lalwani
|
 |
« Reply #2 on: June 04, 2009, 02:30:07 PM » |
|
Are you using Shared Object Repository or Local? also implementation is with QC or without QC?
|
|
|
|
|
Logged
|
|
|
|
|
Manoj Kulkarni
|
 |
« Reply #3 on: June 04, 2009, 10:15:40 PM » |
|
In our case, we don't use QC.
|
|
|
|
|
Logged
|
Regards, Manoj 
|
|
|
mag sak
User
Offline
Posts: 21
|
 |
« Reply #4 on: June 05, 2009, 03:27:31 AM » |
|
Each External Action has its local repository and for this script we are not using QC.
Here is the response I got grom HP Support:
"Regarding your query, please note that there is no limitations for external actions for a script to handle. However, the performance could slightly be degraded as QTP has to fetch the data from these many actions. "
Thanks...
|
|
|
|
|
Logged
|
|
|
|
|
Tarun Lalwani
|
 |
« Reply #5 on: June 07, 2009, 03:09:21 AM » |
|
I would never go for such approach for following reason
- Having 1000+ actions in the same script will make maintenance difficult as you can only select action from list box - If the script somehow gets corrupted it might mess up so many scripts - Every Action has an overhead of DataTable, ObjectRepository.mdb etc...A blank Action with no code has 197KB of size. So having 1000+ action means your script size will go over 197MB just w/o any code. This is not at all a reasonable.
I would rather go for Function in Library file to improve performance and make maintenance easier
|
|
|
|
|
Logged
|
|
|
|
mag sak
User
Offline
Posts: 21
|
 |
« Reply #6 on: June 19, 2009, 04:06:19 AM » |
|
Thanks Tarun for your comments and I too agree with you.
|
|
|
|
|
Logged
|
|
|
|
|