From easy techniques as record and playback to more advanced techniques like keyword driven testing we have numerous options as far as test automation is concern. The test manager has to choose wisely the technique to minimize the cost for development and maintenance. The various test automation techniques are as follows.
1. Linear
2. Structured
3. Shared
4. Data Driven
5. Keyword driven
Linear Scripting
Linear scripting approach is simple record and playback approach of test automation. It can contain some redundant functions etc which may not be required at times.
Pros And cons of Leaner Scripting.
1. A non-structured way of programming.
2. Very low development cost.
3. Programming skills required is negligible.
4. No planning required.
5. Data is hard coded in the script.
6. Maintenance cost is high.
7. No sharing of scripts done so efforts are often repeated.
Structured Programming
Structured programming uses control structures in the scripts so testers can control the flow of the test script. The control structures used are 'if- else', 'for', 'while', 'select-case' statements which help in implementing decision making in the script, making some tasks iteratively.
Pros and cons of Structured Programming
1. A structured approach of scripting.
2. Dev elopement cost is relatively higher then leaner programming.
3. Intermediate programming skills are required.
4. To some extent planning is required.
5. Data is hard coded in the script.
6. Maintenance cost is relatively low comparing to linear programming.
7. Since control structures are used so scripting efforts increases to some extent.
Shared/Modular Scripting
In this technique the scripts representing a application behavior is shared with other scripts. This means the AUT common functionality is scripted as shared scripts and will be called by other scripts to complete the test cases. So the re-usability factor is very high. This makes the scripts modular in terms of common functionality. Such scripts sometimes can be used for other applications as well.
Pros and cons of Shared Programming.
1. Scripts are more structured then the structured approach of programming.
2. Development costs are reduced relative to structured scripting since the effort duplication is reduced.
3. Intermediate programming skills are required.
4. More planning is needed comparing to structured programming.
5. Data is hard coded in scripts.
6. Maintenance cost is lower than linear programming.
Data Driven Scripting
This technique separates data from the scripts and stores the data in external repository in the form of files. So the script just contains the programmed code not the data. This useful when the data changes over time and cycle. Script need not be changed for change in data.
Pros and Cons of Data Driven Scripting
1. Scripts are programmed in a structured manner.
2. Development cost is relatively high because of parametrization.
3. High programming skills are required.
4. More planning is needed.
5. Data is isolated in data tables or external files.
6. Script maintenance is low.
7. Recommended to be used where positive and negative testing both are involved.
Keyword Driven Scripting
In this approach the control to check and execute operations are mentained with exernal data files. So the test data and the operations of the test is planned in external data files. Extra library is needed to interpret this data in addition to the conventional script. Its an extension of data driven testing.
Pros and Cons of Keyword Driven Scripting.
1. it combines the data driven, shared and structured programming techniques.
2. Development cost high since testing planning effort is high.
3. High programming skills are required by tester.
4. Initial planning cost is high.
5. Data exists in the external files.
6. Maintenance cost is very low.
7. Extra framework and library is needed and hence more programming skills is required.
This is my piece of understanding about various types of test automation scripting methodology. I am open for your comments to enhance it make it more meaningful .Please provide your valuable feedback.
Modi - IPL Saga is Blessing in Disguise for BCCI
15 years ago

Very well explained. Easy to understand with pros and cons.
ReplyDeleteThanks
Vin
Thanks for your useful information
ReplyDeletescripting is another important topic in testing.These blog is really helped me to understand the technoques in automation.
ReplyDeleteQTP Training in Chennai | Loadrunner Training in Chennai | Loadrunner Training in Chennai | Loadrunner Training in Chennai
This comment has been removed by the author.
ReplyDeleteThis blog is really very helpful.The Scripting techniques is really very useful.PHP Training in Chennai
ReplyDeleteReally awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
ReplyDeleteRegards..
Software Testing Training Institutes in Chennai
ReplyDeleteif learned in this site.what are the tools using in sql server environment and in warehousing have the solution thank .. msbi training In Chennai
fantastic presentation .We are charging very competitive in the market which helps to bring more Microstrategy professionals into this market. may update this blog . microstrategy training In Chennai
ReplyDeleteLatest Govt Bank Railway Jobs 2016
ReplyDeleteThanks to sharing this nice information, I really appreciate your thinking.................
I get a lot of great information from this blog. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
ReplyDeletesas online training
Assam 2564 Police Constable Recruitment 2016 Apply Online
ReplyDeletePosts your shared useful information and meaningful life, I'm glad to be reading this article and hope to soon learn the next article. thank you.............
Excellent Post..
ReplyDelete
ReplyDeleteI have read your blog its very attractive and impressive. I like it your blog.
Function Point Estimation Training in Chennai
Besant Technologies is an e-learning portal which aims to impart software and soft skills training to its client. It is a very fast growing technology city, besant technologies has found the potential to establish its services across the virtual space. Software Testing Training Institute in Chennai |
ReplyDeleteSelenium Training Institute in Chennai |
Useful Information
ReplyDeleteLegal advisor in Chennai
Placements | Best Industrial Automation Training in Noida, Delhi with 100% Job Assistance Support
ReplyDeleteDIAC Noida, is one of the best Automation, Salesforce, Soft Skills, HR training institute in Noida, Delhi NCR with extra ordinary trainers who delivers best training in Noida & Delhi NCR region with 100% placement assistance also provided by DIAC. Call: 931OO96831 for free demo class.
Thank you. I got much useful information from this post. Please keep sharing
ReplyDeleteLoadRunner Training in Delhi
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleterpa Training in Chennai
rpa Training in bangalore
rpa Training in pune
blueprism Training in Chennai
blueprism Training in bangalore
blueprism Training in pune
rpa online training
Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
ReplyDeleteautomation anywhere training in chennai
automation anywhere training in bangalore
automation anywhere training in pune
automation anywhere online training
blueprism online training
rpa Training in sholinganallur
rpa Training in annanagar
Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
ReplyDeleteData Science Training in Chennai
Data science training in bangalore
Data science online training
Data science training in pune
Data science training in kalyan nagar
selenium training in chennai
Excellant post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
ReplyDeletejava training in marathahalli | java training in btm layout
java training in jayanagar | java training in electronic city
java training in chennai | java training in USA
selenium training in chennai
Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.
ReplyDeleteBlueprism training in Chennai
Blueprism training in Bangalore
Blueprism training in Pune
ReplyDeleteThis is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me..
best rpa training in chennai |
rpa training in chennai | rpa online training |
rpa training in chennai |
rpa training in bangalore
rpa training in pune
rpa training in marathahalli
rpa training in btm
I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
ReplyDeleteJava training in Bangalore | Java training in Marathahalli | Java training in Bangalore | Java training in Btm layout
Java training in Bangalore | Java training in Jaya nagar | Java training in Bangalore | Java training in Electronic city
I am really impressed with your efforts and really pleased to visit this post.
ReplyDeleteData Science Training in Indira nagar
Data Science training in marathahalli
Data Science Interview questions and answers
Data Science training in btm layout | Data Science Training in Bangalore
Data Science Training in BTM Layout | Data Science training in Bangalore
Data science training in kalyan nagar
I was recommended this web site by means of my cousin. I am now not certain whether this post is written through him as nobody else recognise such precise about my difficulty. You're amazing! Thank you!
ReplyDeleteangularjs Training in bangalore
angularjs Training in bangalore
angularjs Training in chennai
automation anywhere online Training
angularjs interview questions and answers
We offer winter training in PLC SCADA for students which is a fully job oriented project based training that enables students to work on s from the industry. We offer wide range of programs for training under the guidance of the best industrial experts. Call @9953489987.
ReplyDeleteThank you for your post. This is superb information. It is amazing and great to visit your site.
ReplyDeleteLoadrunner Training in Noida
Loadrunner Course in Noida
Loadrunner Training institute in Noida
Thanks for sharing this blog. This is so informative blog
ReplyDeleteLearned a lot of new things from your post! Good creation .
Loadrunner Training in Delhi
Loadrunner Training Course in Delhi
Thanks for sharing this blog. This is so informative blog
ReplyDeleteLearned a lot of new things from your post! Good creation .
Loadrunner Training in Delhi
Loadrunner Training Course in Delhi
It’s great to come across a blog every once in a while that isn’t the same out of date rehashed
ReplyDeletematerial. Fantastic read.
Java Training in Chennai |Best
Java Training in Chennai
C C++ Training
in Chennai |Best C C++ Training Institute in Chennai
Data science Course
Training in Chennai |Best Data Science Training Institute in Chennai
RPA Course
Training in Chennai |Best RPA Training Institute in Chennai
AWS Course Training
in Chennai |Best AWS Training Institute in Chennai
Devops Course Training
in Chennai |Best Devops Training Institute in Chennai
Selenium Course Training in
Chennai |Best Selenium Training Institute in Chennai
Java Course Training in Chennai |
Best Java Training Institute in Chennai
Hello, I read your blog occasionally, and I own a similar one, and I was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me insane, so any assistance is very much appreciated.
ReplyDeleteMachine Learning Training in Chennai | Machine Learning Training Institute in Chennai
Devops Training in Chennai | Devops Training Institute in Chennai
Data Science Training in Chennai | Data Science Course in Chennai
Selenium Training in Chennai | Selenium Training Institute in Chennai
Blue Prism Training in Chennai | Blue Prism Training Institute in Chennai
PHP Training in Chennai | PHP Training Institute in Chennai
<