The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP

ManishBansal
Active Member


Reged: 08/15/07
Posts: 732
Loc: Six Feet Under
Re: 'My Beautiful Framework'
      04/10/12 10:43 PM Attachment (134 downloads)

Hi Mark,
Let me try to elaborate.
1) Framework should be very simple, small, fast, generic, should have very less files, i suggest only 1 file framework.


1) very simple : for our end users (not just the users who are configuring & running it, but also for the other automation teams/developers to understand and reuse it 100%), other automation team should not spend much time referring to documents every time they are using.

2) small & single file : the framework we have developed is having only one file we call it Core.qfl
this is the back-born of the framework, it has very few say only 5 public functions and other are private)
it helps easy maintenance, and give portability, if anyone want to reuse this framework then he/she just have to add this file in his resources and that's all. (we keep this file in SVN)

Mark, we also have other files too, but we call them plugins to our framework ( CoreWeb.qfl, CoreNet.qfl, CoreJava.qfl, CoreInfragistics.qfl so and so forth) can be added on demand

We also have 2 more files 1- globalrecovery.qrs , 2 - RecoveryFunctions.qfl (Need not to attach them to resources)

Finally the best part of our framework is our COM dll, which needs to be register (framework automatically register if COM cannot able to create object) - Thanks to Tarun lalwani
we have all non-qtp utility functions in our dll. (screen-shot attached)

3) Fast - it is based on recovery , so we never check our control, just do the operation on that control, if the operation is successful, its good, otherwise recovery executes(No need to check Exist, disabled, ListItems, duplicateitems and duplicate objects explicitly )
One more thing, our recovery is doing nothing but calling a function and this reports (so no messy reporting due to recovery)

Its fast because, for all common operation we are using COM object (pre-compiled dll)

4)generic - this framework is really not having any business functionality, you just have to attach Core.qfl files, now record your test and then do some modification in OR, and your script is ready, that's all.

on the good node!, our framework is make our life & work simple efficient and not complex.

--------------------
Thanks,
Manish Bansal

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* 'My Beautiful Framework' Shreejit 04/05/12 11:04 PM
. * * Re: 'My Beautiful Framework' ManishBansal   04/06/12 02:59 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/10/12 04:44 AM
. * * Re: 'My Beautiful Framework' ManishBansal   04/10/12 10:43 PM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/10/12 11:57 PM
. * * Re: 'My Beautiful Framework' ManishBansal   04/11/12 02:48 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/11/12 10:20 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/10/12 04:49 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/10/12 10:04 AM
. * * Re: 'My Beautiful Framework' RPNarayana   05/15/12 03:01 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/10/12 11:03 AM
. * * Re: 'My Beautiful Framework' NoUse4aName   04/10/12 10:23 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/11/12 10:24 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/11/12 10:32 AM
. * * Re: 'My Beautiful Framework' GregEncke   04/11/12 10:42 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/11/12 08:41 PM
. * * Re: 'My Beautiful Framework' GregEncke   04/12/12 08:11 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/13/12 11:21 PM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/11/12 11:25 PM
. * * Re: 'My Beautiful Framework' lockdown   04/12/12 06:05 AM
. * * Re: 'My Beautiful Framework' vishimon   04/15/12 04:56 AM
. * * Re: 'My Beautiful Framework' JonRLewis   04/16/12 03:01 AM
. * * Re: 'My Beautiful Framework' vampire123   05/15/12 02:06 PM
. * * Re: 'My Beautiful Framework' JonRLewis   05/16/12 01:17 AM
. * * Re: 'My Beautiful Framework' Mrinal_Nandi   05/16/12 03:42 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   05/16/12 04:47 AM
. * * Re: 'My Beautiful Framework' Shreejit   05/17/12 09:09 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   05/17/12 10:21 AM
. * * Re: 'My Beautiful Framework' MJP   05/17/12 01:57 PM
. * * Re: 'My Beautiful Framework' Shreejit   04/16/12 05:26 AM
. * * Re: 'My Beautiful Framework' lockdown   04/16/12 05:44 AM
. * * Re: 'My Beautiful Framework' mwsrossoModerator   04/16/12 10:32 AM
. * * Re: 'My Beautiful Framework' lockdown   04/17/12 12:50 AM
. * * Re: 'My Beautiful Framework' Shreejit   04/16/12 09:48 AM
. * * Re: 'My Beautiful Framework' kayd   04/11/12 06:39 PM
. * * Re: 'My Beautiful Framework' Rastek   04/09/12 06:04 AM
. * * Re: 'My Beautiful Framework' lockdown   04/10/12 02:12 AM

Extra information
0 registered and 72 anonymous users are browsing this forum.

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 6877

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5