Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test Automation Framework
#1
Solved: 11 Years, 4 Months ago
Hi All,

I am new to QTP, have some automation experience though.

I had a question regarding the Record & Playback (R & P) feature of QTP.

Currently there are VB scripts that follow the linear framework (only use R & P). What are the general steps that are followed to migrate to a hybrid framework (keyword driven/data driven) from the existing one.

Request you guys to help provide with some guidelines for the same.

Thanks!

D
Reply
#2
Solved: 11 Years, 4 Months ago
One way to 'migrate' is to just use the R&P to record small 'blocks' of interactions and then call these interaction blocks, stick them in separate methods in a library then call them from a test in sequence.

After this you could paramatise the details of the the block or modify each block to pass n data from the test so that it can be used in more than one instance. E.g. pass in the web page address to a generic 'goto web page' block.

Then put the steps into a spreadsheet and data drive the sequence from there. as per the fine videos on this site.

You can only keyword/data driven tests when you have done the underlying code blocks that make up a full test. This is all up front work that pays back later down the line.

Reply
#3
Solved: 11 Years, 4 Months ago
Thanks! that helps.Smile

D


Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  If application crashes or hangs, how to execute next test cases in automation kalyani0820@gmail.com 4 6,206 11-18-2011, 11:56 AM
Last Post: vinod123
  Automation framework ramireddy 2 3,123 07-06-2009, 07:41 PM
Last Post: Ankur
  QTP automation framework shobhasr 1 6,005 03-27-2009, 08:24 PM
Last Post: sepgs2004
  Query:Automation Framework Rachna 4 3,837 03-26-2009, 04:01 PM
Last Post: Rachna
  Any one has UI automation framework/design document senthilkumara 0 3,643 09-10-2008, 11:52 AM
Last Post: senthilkumara

Forum Jump:


Users browsing this thread: 2 Guest(s)