Posts: 1
Threads: 1
Joined: Jul 2008
Reputation:
0
07-16-2008, 12:32 PM
Hello Ankur,
Normally I have heard that we should have common function libraries for automation ,so I would like to know which of the common function libraries that would be require for any web based application.
I would request you to list down all the possible common function libraries that can be used in web-based application.
Nimish
Posts: 5
Threads: 0
Joined: Dec 2008
Reputation:
0
12-16-2008, 11:17 PM
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