Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18488 Posts in 4838 Topics- by 32654 Members - Latest Member: revitvm
 

AdvancedQTP forums have been nominated as a finalist in ATI’s 2nd annual automation honors awards!

We’d like to thank you for your continued support and participation, and urge you to hurry and vote.

Make you voice count! 


Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: External Actions limit in QTP script    (Read 686 times)
mag sak
User
*
Offline 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
Full User
***
Offline Offline

Posts: 241



« 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 Smiley
Tarun Lalwani
Advanced User
*****
Offline Offline

Posts: 886



WWW
« 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

Tarun Lalwani,
QuickTest Professional Unplugged - My new Book on QTP...
Manoj Kulkarni
Full User
***
Offline Offline

Posts: 241



« Reply #3 on: June 04, 2009, 10:15:40 PM »

In our case, we don't use QC.
Logged

Regards,
Manoj Smiley
mag sak
User
*
Offline 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
Advanced User
*****
Offline Offline

Posts: 886



WWW
« 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

Tarun Lalwani,
QuickTest Professional Unplugged - My new Book on QTP...
mag sak
User
*
Offline 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
Pages: [1]   Go Up
Print
Jump to: