Geeks Talk

Prepare for your Next Interview




Automation Framework

This is a discussion on Automation Framework within the Testing Frameworks forums, part of the Software Testing category; Hi What is meant by Testing Framework...


Go Back   Geeks Talk > Software Testing > Testing Frameworks

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-03-2007
Junior Member
 
Join Date: Dec 2006
Location: bangalore
Posts: 2
Thanks: 0
Thanked 2 Times in 1 Post
subhashini.lutimath is on a distinguished road
Automation Framework

Hi

What is meant by Testing Framework
Reply With Quote
The Following 2 Users Say Thank You to subhashini.lutimath For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 01-03-2007
Junior Member
 
Join Date: Jul 2006
Location: Chennai
Posts: 4
Thanks: 0
Thanked 3 Times in 1 Post
sathish9274 is on a distinguished road
Re: Automation Framework

Testing framework is a set of assumptions ,concepts and practice that provide support for testing
Reply With Quote
The Following 3 Users Say Thank You to sathish9274 For This Useful Post:
  #3 (permalink)  
Old 01-23-2007
Junior Member
 
Join Date: Aug 2006
Location: Hyderabad, India
Posts: 2
Thanks: 0
Thanked 2 Times in 1 Post
qtptester is on a distinguished road
Arrow Re: Automation Framework

Testing Framework is something like a frame work designed according to our requirement. For example. you want to test one application for UI, FUNCTIONAL and LOCALIZATION. for this requirement you can have your own frame work...

1) for UI testing: identify what to test assume that font, size, color...
2)Functional: whether the button is working properly example login.
3)test for diff languages at a time.

Frame Work:
1)write all your functional library for UI at one place.
2)write down all functional library methods in own file.
3)have complete list of strings what are neccessary for localization at one place assume that a excel sheet.
4)using the resources are XML now you can import them and write your script by record and play back or using descriptive programming.
5)finally test your application.

if any comments on this we ll be grateful to you.

regards,
qtptester.
Reply With Quote
The Following 2 Users Say Thank You to qtptester For This Useful Post:
  #4 (permalink)  
Old 03-27-2007
Junior Member
 
Join Date: Mar 2007
Location: India -Delhi
Posts: 4
Thanks: 1
Thanked 4 Times in 2 Posts
sps1232 is on a distinguished road
Re: Automation Framework

Hi Qtptester,

Thanks for your valuable answer. Can you drill down bit more to ease of understanding. Well I have one more query "What is difference between KeyWord driven and datadriven testing in automation?"
Reply With Quote
The Following 3 Users Say Thank You to sps1232 For This Useful Post:
  #5 (permalink)  
Old 04-18-2007
Expert Member
 
Join Date: Apr 2007
Location: Kolkata
Posts: 151
Thanks: 3
Thanked 10 Times in 9 Posts
debleena23 is on a distinguished road
Re: Automation Framework

Quote:
Originally Posted by subhashini.lutimath View Post
Hi

What is meant by Testing Framework
Hi
Framework is nothing but a standard approach which the entire Team follows in the course of a Project. This includes Folder structures, Naming conventions, File paths, Common Functions, etc
Reply With Quote
The Following User Says Thank You to debleena23 For This Useful Post:
  #6 (permalink)  
Old 12-28-2007
Junior Member
 
Join Date: Oct 2007
Location: India
Posts: 17
Thanks: 8
Thanked 1 Time in 1 Post
ShamimYousuf is on a distinguished road
Smile Re: Automation Framework

Quote:
Originally Posted by sps1232 View Post
Hi Qtptester,

Thanks for your valuable answer. Can you drill down bit more to ease of understanding. Well I have one more query "What is difference between KeyWord driven and datadriven testing in automation?"
Hi sps1232,

I am also new to QTP Tester. This QTP forum and google . com only taught me the answer for your doubt. So I will tell you what I know about this .Hoping you friends will help me if I am wrong.
Keyword Driven Framework
It's an application independent Automation Framework
This Framework will have following components:
1) Data tables /Excel Sheets containing Keywords, Object Names and Object Values. This is the only component which is application dependent. Keywords are the words that we used to represent the test case. For example VerifyEditbox. This can be used to represent the test case: Verify whether the Edit box is accepting the entered text.
2) Test Driver. This contains the scripts to drive the test. Usually it will contain the code for taking keywords one by one from the data table and call respective subroutines for each keyword using the Switch case statement.
3) Common Function Library. This contains all the common functions that are needed to test any application.
Data Driven Framework
It's an application specific Automation Framework. These scripts can be recorded or written manually and modify it by replacing input values with variables. Input values can be written in Data table / Excel sheet. Test Driver in this case contains the scripts to drive the application with external data written in Data tables / Excel Sheet.
Reply With Quote
  #7 (permalink)  
Old 02-26-2008
Junior Member
 
Join Date: May 2007
Location: New Delhi
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
swapnilsahu is on a distinguished road
Thumbs up Re: Automation Framework

Framework provides you a platform on which you can build your test. In terms of testing automation - Framework contains all the necessary functions, reusable functions, object repositary, Data repositary etc. along with path, process containing Folder structures, application path , Basic and advance setting to execute the project, method to log the bugs/Defects etc..
Overall when testing team works to automate the project, they should not worry about how prerequisites will be maintained, they just start to write the test.

This is a brief expalination about framework.

I hope this explaination will give all of us clear picture How framwork is and how it works?

From
Swapnil
swapnil.sahu10@yahoo.co.in
Reply With Quote
  #8 (permalink)  
Old 02-26-2008
Contributing Member
 
Join Date: Nov 2006
Location: India
Posts: 79
Thanks: 3
Thanked 15 Times in 10 Posts
j_madhuri is on a distinguished road
Re: Automation Framework

Frame work actually means the process which we follow to do the Testing like mostly while Automating a Testing process

There are 4 types of frame works in QTP

1.linear frame work
Modular frame work
3.Keyword driven frame work
4.Hybrid frame work
Reply With Quote
  #9 (permalink)  
Old 03-12-2008
Junior Member
 
Join Date: Dec 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
poornajyothi is on a distinguished road
Re: Automation Framework

Thanks for the defination. But i would like to know this with an example. Like, for a web based application what is frame work.
Quote:
Originally Posted by sathish9274 View Post
Testing framework is a set of assumptions ,concepts and practice that provide support for testing
Reply With Quote
  #10 (permalink)  
Old 03-12-2008
Contributing Member
 
Join Date: Nov 2007
Posts: 43
Thanks: 14
Thanked 5 Times in 3 Posts
srinii_vasu is on a distinguished road
Re: Automation Framework

qtp automation framework
1. Linear framework
this is normal process like recording or scripting the program and executing it. This is not reusable, once execuiting these script.
2. Modular framework>>
this is different from liner frame work, here recording or scripting the program and those script split into actions and make those actions as reusable actions. These reusable actions can use any where in the test.
3. Keyword driven automation frameworkqtp supports to keyword driven automation framework. In keyword driven automation framework first we are going to create a folder on that project name, then create six subfolders within that folder like repository, library files, recovery file, test data, main test, test log file.
here repository folder is used for save the objects of the application. First learn all the objects by using object repository and then export all the objects to repository folder by giving .tsr extension (test shared repository). This file associate to repository manager, navigation is object repository ----à associate repository
then click + tab and browse the file from repository folder
library file folder is used for save functions, which is created by the user. Suppose take one login window and create a function, first open notepad and create function as per your required.
public function login( )
dialog (“login”).activate
dialog (“login”).winedit (“agent name”).set”baba”
dialog (“login”).winedit (“password”).set secure”xxxxxxxx”
dialog (“login”).winbutton(“ok”).click
end function ( )
then save with .vbs extension in to the library file folder.
after that associate this function to qtp library files. The navigation is
test setting----->resources then click + tab and browse the function. In this manner create no of functions as per required and associate all the functions to qtp.suppose some example
insert order ( ), logout ( ), update order( ).
recovery file folder is used for save recovery scenarios which is created by the user. Create recovery scenarios and save those recovery scenarios with .qrs extension with recovery file folder. After that associate those recovery scenarios to qtp.navigation is test setting---àrecovery then click +tab and browse the file.
test data folder is used for save input data. Suppose through flat file method, open the notepad and give input data and save with .txt extension in test data folder.
Reply With Quote
The Following User Says Thank You to srinii_vasu For This Useful Post:
  #11 (permalink)  
Old 03-27-2008
chennaprashanth's Avatar
Contributing Member
 
Join Date: Mar 2008
Location: Pune
Posts: 30
Thanks: 0
Thanked 9 Times in 7 Posts
chennaprashanth is on a distinguished road
Re: Automation Framework

Hi Subhashini,

Automation Framework is also like a document of Test Plan. In Automation Framework we will discuss that
1. What to be Automate.
2. How to be Automate.
3. What Procedure that Team has to follow.
4. What Tools to be Used.
5. What type of data sheets to be Used.
6. Naming Convenssions for the Scripts.
7. What are the Documents to be Produced. Etc

In generally In QTP, there are 4 types of frameworks those are some models only.
In most of the companies they will use there OWN Framework.

Hai Friends, If there is any mistake Please let me Know.

Cheers...........
Prashanth Chenna.
Reply With Quote
  #12 (permalink)  
Old 05-02-2008
Junior Member
 
Join Date: May 2008
Location: NewYork
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sruthi.k is on a distinguished road
Re: Automation Framework

Could someone please send me format/sample Automation Test framework document for data driven testing , iam new to Automation and i was given task to devlop it .any help will be very much appreciated.

thanks in advance..
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Frameworks


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
When will testers go for automation praveen98480 Test Cases 19 05-11-2007 11:05 AM
Automation through WinRunner abhaybharti WinRunner 3 04-30-2007 01:22 AM
Explain about .NET Framework Class Library GeekAdmin VB.NET 0 05-17-2006 11:47 PM
What is .NET Framework Architecture GeekAdmin VB.NET 0 05-16-2006 12:30 PM


All times are GMT -4. The time now is 04:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved