Geeks Talk

Prepare for your Next Interview




Regarding QTP keyword driven framework

This is a discussion on Regarding QTP keyword driven framework within the QTP forums, part of the Software Testing category; Hi, I need a framework for keyword driven approach using QTP for testing a web based application. Please let me know how to start with it as I have all ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-26-2007
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
vjlaxmi is on a distinguished road
Regarding QTP keyword driven framework

Hi,

I need a framework for keyword driven approach using QTP for testing a web based application.
Please let me know how to start with it as I have all the test cases ready with me, but dunno how to start with the framework and have also heard that lot of scripting will be needed. But I am new to this approach, please share with your knowledge about it.

Thanks in advance,
VJ
Reply With Quote
The Following User Says Thank You to vjlaxmi For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 03-28-2007
Junior Member
 
Join Date: Feb 2007
Location: hyd
Posts: 18
Thanks: 0
Thanked 3 Times in 3 Posts
lata_115 is on a distinguished road
Re: Regarding QTP keyword driven framework

hi,
Define different functions for every specific functionality in the library files.
Associate all the library files with Quick test.

for eg: login,Account search take this two functionalities

define the function for login save this files with extension .vbs this is library file
define the function for Accountsearch save this file with extension .vbs
Now u associate these library files with Quick Test using
Test->Settings->Resources->add the library files
or
write this statement as first in ur test script
Executefile "path name of the .vbs file"
Now call the function in Test script using select case decision statement
To execute this functions we are passing keywords from datatable.
key1=datatable.value("functionlaity",1)
select case key1
case "log":login()
case "Acc":Accountsearch()
end case
In datatable write the keywords with column name functionality
functionality
log
Acc

Thanks,
lata
Reply With Quote
The Following User Says Thank You to lata_115 For This Useful Post:
  #3 (permalink)  
Old 03-29-2007
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
vjlaxmi is on a distinguished road
Re: Regarding QTP keyword driven framework

Hi,
I have finalized on a framework, but I don't know how to implement the folder structure and the drivers for calling the data sheets?
Can you help me on that?

Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 04-03-2007
Junior Member
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
tameem.ahmed is on a distinguished road
Re: Regarding QTP keyword driven framework

Can you Pls let me know the framework that u have finalized.. ??
Reply With Quote
  #5 (permalink)  
Old 04-04-2007
Junior Member
 
Join Date: Feb 2007
Location: hyd
Posts: 18
Thanks: 0
Thanked 3 Times in 3 Posts
lata_115 is on a distinguished road
Re: Regarding QTP keyword driven framework

hi vjlaxmi,

I need some more information about ur question?
Reply With Quote
  #6 (permalink)  
Old 04-04-2007
Junior Member
 
Join Date: Apr 2007
Location: Bangalore
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
vvijaysagar is on a distinguished road
Re: Regarding QTP keyword driven framework

which framework u r following
in that u need to mention total framework will be in the form of folders
for suppose u need to store scripts,datatables,library file,reusable functuions,log files seperatly
if u want to add a function to library file u need to go for test->setting->resources
and give the ext as .vbs then it will add to it
in this any doubts call me 09886471157 and velogoty vijayasagar reddy
Reply With Quote
  #7 (permalink)  
Old 04-05-2007
Junior Member
 
Join Date: Apr 2007
Location: Pune
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
SuryaPyxis is on a distinguished road
Re: Regarding QTP keyword driven framework

Hello laxmi, first u confirm one thing that r u using any test management tool like quality center or test director. then in test plan u have to define the folder structure. Other in ur local drive u have to define it. And from setting u call all ur library files, environment variables(global) then define a startup script to call all other test scenario scripts. Startup script also known as driverscript. Make all test scenario scripts as reusable actions. Follow scripting standards and all 09850833878 (surya) any help regarding this i will do my level best. All the best surya
Reply With Quote
  #8 (permalink)  
Old 04-08-2007
Junior Member
 
Join Date: Mar 2007
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
vjlaxmi is on a distinguished road
Re: Regarding QTP keyword driven framework

Thanks for the reply,
1.I am trying a pilot on a web based application with a framework using QTP.
2. This framework will be like a functional framework, as in we have the repository (stored all the objects of each page of athe application) and we have made few functions for each type of testing.
3. I am also parameterizing the browser and pages called for each function.
4. Now, I have the test data and the functions, but I am not sure how to make calls to each function (with input parameters)?
5. I had thought of putting functions to be called in 1 column and the next column would contain the test data.
6. The test data includes -> input parameters for the function, browser_name & page_name.
7. Now my second question is how to call each function row-wise and instruct it to take the data from the next column. Then continue similarly with next row?
8. Also this excel sheet will be called by another excel sheet --> which has a list of scenarios to be executed.
So, Each scenario in this group excel sheet will be corresponding to a set of few functions in the testcase excel sheet.

I hope you got what I am in need of?

Thanks in advance,
VJLAXMI

Last edited by vjlaxmi : 04-08-2007 at 12:20 AM.
Reply With Quote
  #9 (permalink)  
Old 07-15-2008
Junior Member
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
jyoshna.e is on a distinguished road
Re: Regarding QTP keyword driven framework

i also need the answer to this question lakshmi.jyoshna@gmail.com
Quote:
Originally Posted by vjlaxmi View Post
Hi,

I need a framework for keyword driven approach using QTP for testing a web based application.
Please let me know how to start with it as I have all the test cases ready with me, but dunno how to start with the framework and have also heard that lot of scripting will be needed. But I am new to this approach, please share with your knowledge about it.

Thanks in advance,
VJ
Reply With Quote
  #10 (permalink)  
Old 07-23-2008
Junior Member
 
Join Date: Jul 2008
Location: hyderabad
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
gaddamraghunath is on a distinguished road
Re: Regarding QTP keyword driven framework

hi i need the answer for test scenario with detail description pls make sure the difference between test plan,test scenario,test case !!!
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Automation Framework subhashini.lutimath Testing Frameworks 11 05-02-2008 02:53 PM
testing Framework anuradha162 Testing Frameworks 21 04-23-2008 06:53 AM
"like" keyword in oracle.. psuresh1982 Oracle 5 12-22-2006 09:19 AM
What is .NET Framework Architecture GeekAdmin VB.NET 0 05-16-2006 11:30 AM


All times are GMT -4. The time now is 08:30 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