Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Common Function Libraries
#2
Solved: 11 Years, 4 Months, 2 Weeks ago
Basically, you should look at your unique situation (automation environment, testing tasks, application being tested) and come up with a list that is tailored to you. For example, at my office, we have a specialized winform application that can work on multiple clients connecting to a central database. I have a function library that is specific to reporting system resource usage (memory consumption, processor utilization, etc) so we can report if the application seems to have a memory leak. There is another library that we use for tasks that deal with accessing Quality Center information. I also have other libraries and try to keep them grouped together based on their purpose. You can have one that deals with file system, another for generating unique data, and yet another one for some other purpose. The main reason for all the function libraries is a central location to change that will update to all scripts that use the functions. I also like them since it reduces the lines of code in my QTP scripts.

Maybe this will give you a starting point.

JohnBoy
Reply


Messages In This Thread
Common Function Libraries - by nimishbhuta - 07-16-2008, 12:32 PM
RE: Common Function Libraries - by JohnBoy - 12-16-2008, 11:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  When are common times to use checkpoints? futureQTPpro 0 2,044 05-26-2011, 02:10 AM
Last Post: futureQTPpro
Exclamation Common issues while execution of scripts across multiple browsers that are supported. sunnyQTP95 5 4,855 08-25-2009, 06:09 PM
Last Post: Saket
  One common code line in QTP to handle two different widows in QTP hemu_a 0 2,489 02-04-2009, 08:23 PM
Last Post: hemu_a

Forum Jump:


Users browsing this thread: 1 Guest(s)