too many functions , difficult to manage

42 views
Skip to first unread message

Kiran Ogeti

unread,
Mar 5, 2016, 11:05:27 AM3/5/16
to QTP - HP Quick Test Professional - Automated Software Testing
at first ,I had like 5000+ functions in a single file and by then my scripts execution was way too slow.. after some suggestions I broke them down into 15 different vbs files

but now the issue that, difficult to search the functions when its time to call them, since they are diff files everytime I have to open all these files to search the functions

Is there anyway , to quickly search them quickly

thanks

Tanveer

unread,
Mar 5, 2016, 12:54:15 PM3/5/16
to mercu...@googlegroups.com
Create functions checklist document or you can create a class per sections of all your functions which will help you when u intialize that class and intellisense will list all those functions...

Thanks
Tanveer
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

---
You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kse...@yahoo.com

unread,
Mar 12, 2016, 1:01:40 PM3/12/16
to mercu...@googlegroups.com
Great idea Tanveer.  Are there any performance issues by remapping these functions into classes 

Sent from my iPhone

Tanveer

unread,
Mar 12, 2016, 1:48:00 PM3/12/16
to mercu...@googlegroups.com
I dont see performance issue rather an improvement, because loading one big function library can slow down execution... But using classes will improve performance as per understanding and easily maintenable...

Thanks
Tanveer

Peter Mouton

unread,
Mar 12, 2016, 1:49:40 PM3/12/16
to QTP - HP Quick Test Professional - Automated Software Testing, kse...@yahoo.com
There are tools that can perform text searches in all files in a map. I use UltraEdit for these kind of issues

Tanveer

unread,
Mar 12, 2016, 1:56:10 PM3/12/16
to mercu...@googlegroups.com, kse...@yahoo.com
True Peter!
Reply all
Reply to author
Forward
0 new messages