Overview
With agile practices getting more popular Test Automation is important factor in achieving continuous delivery. There are so many tools available in market for test automation. It includes both Open Source and Proprietary Tools/Framework. It’s very challenging as well as interesting to pick up best tool for your test automation. Many times I have seen people choosing Open Source tools just because they are free. On the other hand it also true that most of the proprietary products are very costly. It was also challenging for me to come up with best tool for Test Automation for my project which included applications in ASP.NET and WPF.
In today’s post, I would more talk about Web Test Automation and try to compare well known open source framework “Selenium” (http://seleniumhq.org/) and proprietary tool “Test Studio” from Telerik (http://www.telerik.com/automated-testing-tools.aspx). The prior one is framework using which we need to create whole sort of test script by writing code while later one is product with nice UI. Somebody might say why I am doing comparison of open source framework with a proprietary product? The answer is – ultimate we have to come up with solution that satisfies my “requirement”. So before going ahead I have to clarify my or project’s requirement. Solution should provide:
Automation of Web Application (as of now just considering ASP.NET application for ease of analysis).Test support on Internet Explorer, Firefox, Chrome and Safari
Less learning curve as my resources would be from Testing team and may not coding expert
Better productivity for creating new scripts so that it would not increase much cost for new enhancements.Better Reporting feature for easy analysis of failure scenarios
Ease of Maintenance.Overall Test Script creation and execution and maintenance cost (initial + resource) should be less.
Analysis.The first two requirements are straight forward. Both tools in context (Selenium and Test Studio) satisfy this.
The later ones are more subjective and many vary from project to project. Let’s discuss these in details one by one.Learning Curve
Selenium – To work with frameworks that mainly require script coding, developer should have knowledge of both script coding as well as test case development. This increases learning curve for script developer. Also without powerful UI support, developer need to rely on trial and error to find out bugs in script itself. I must mention here that Selenium has very good support from community and that is very useful.
Test Studio – It provides nice UI that helps person self-learning the tool. It also provides multiple views by which you can carry out your work. One can learn usage of Test Studio by view various videos available on Telerik site. Also you can ask for any help from support team.
Resource Productivity
Here I would like analyse ease of development of a complex test script by average skilled user.
Selenium – It has very good apis and skilled resource can develop script with better productivity. The usage of IDE in Firefox is limited. So for any test case one has to do sufficient coding exercise. The coding itself is bound to follow its coding life cycle including debugging and sanity testing. Reading just steps as a story board is difficult in selenium. Handling of timeouts, AJAX calls are the areas where developer can make easy mistakes. So quality of script will more dependent on experience of developer in selenium.
Test Studio – It provides complete UI based script capturing as well as modifications to script test. You can easily see story board that gives you better idea about your test case and steps followed in the same. Tool provides various UI based options for capturing element, comparing values against required properties. You can easily add data driven testing without much effort. Even logical and looping conditions can be easily incorporated using UI. Capturing of mouse and java script event is UI based. This gives lot of relief to developer and person can concentrate on Test Case logic or Business validation planning rather than coding or development. UI provides high speed in capturing element, comparing the required values and verifying the output. This is biggest advantage of Test Studio.
Ease of Maintenance
It’s an important factor where you have large number of test cases.
Selenium – People find it difficult to manage test scripts than creation. For small change also it might need to recapture whole script. It requires lot of planning for large scale project to use selenium effectively in there project. Tester needs to do debugging and find out where it’s an application failure or it’s a script issue. Many times dedicated effort has to be given to keep pace with changes incurring in agile sprints.
Test Studio – Here Test Studio has upper hand. One can create modular test cases and reuse them in various test scenarios as and when required. It provides detailed failure log that includes images of failed step and expected step. So just by viewing image one can easily do initial analysis and decide whether script to be modified or bug to be raised for application issue. Steps list and Storyboard help even new developer to understand test case better way and one can do modification easily to the same.
Overall Cost
Let’s try to put together cost statics for say 500 test cases. The productivity of 3-4 test cases per day can be achieved for Selenium while we can consider around 6-7 test cases for Test Studio. I personally believe we can achieve much more than 7 with Test Studio. Let’s assume 20 test cases need to be modified or created for code changes per month that includes modification and enhancements to system.
Item | Selenium | Test Studio |
License Cost | $0 | $2500 |
New Script Development Effort with low productivity | 167 PD (3 cases per day) | 83 PD (6 cases per day) |
New Script Development Effort with better productivity | 125 PD (4 cases per day) | 72 PD (7 cases per day) |
Script change effort per month 70% change & 30% new | 4-5 PD | 2-3 PD |
One Year Maintenance effort | 50-60 PD | 25-35 PD |
So from long term perspective and with increase in no. Of test cases Test Studio not only pays you off initial cost but also saves the overall cost.
Other benefit of using Test Studio
WPF & Silverlight
Test Studio support WPF and Silverlight application test automation.
Manual Script customization
The Test Studio generates code behind the scene which is based on Telerik Testing Framework i.e. Similar to codedui framework of Microsoft. This gives additional flexibility to developer it he/she at all need to write done manual scripts.
Performance Testing
The upcoming version (2011 R2) of Test Studio includes Performance testing with In-Depth analysis for .NET applications. I am eagerly waiting for this release.
Comparison Table
Below is the detailed comparison between Selenium and Test Studio:
Item | Selenium | Telerik Test Studio |
IDE / Script Capture | Firefox 3+ | Firefox 2+, IE 7+, Safari 5+, Chrome 7+ |
Run Test supported Browsers | Firefox 3+, IE 7+, Safari 2+, Opera 8+ Chrome doesn’t have support as of now | Firefox 2+, IE 7+, Safari 5+, Chrome 7+ |
Script Development | Firefox IDE + Manual coding Good API collection. But resource must be skilled in API Manual coding is more time consuming and error prone Testing of script itself is required Complex cases mostly done using manual coding | Well-designed UI that can help capture all types of scripts Codebase gets generated at background for customization if required Complex cases can also be captured with ease using UI |
Supported OS | Windows, OS X, Linux, Solaris | Windows |
Browser Objects Recognition | Good object recognition. Objects can be identified by name, ID or located by using xpath. Complex elements are not easy to capture Time consuming | Very Rich UI based object identification Easy identification of html element, DOM member Provides easy way to identify element from hierarchical view Supports mouse action, drag and drop events Support java script events of control |
Recording and Playback | Supported in Firefox | Supported in Firefox, IE, Safari, Chrome |
Capture once & Run for all browsers | Supported | Supported |
AJAX & jquery | Supported | Supported |
Java Script Alerts / Dialog | Supported | Supported |
Code Generation Language | Java, C#, Ruby, Perl, PHP | C#. Language knowledge is not mandatory. UI based application |
Data Driven Testing | Supported Need to plug in custom code for reading data from store | Supports multiple data stores like flat file, in build table, database, excel etc. Easy to add / modify data in data store |
Test Results Reports | Reporting is supported through the test runner and various logs, screen shots can also be captured. Default Reporting is not rich | Very Rich image based reporting. Step story board or failure step comparison with image is available |
Performance Testing | Not supported | Supported in 2011 R2 getting release by end of Sep 2011. Support In-Depth details with .NET profiler for .NET application |
Price | Free | $2500 |
Conclusion
We analysed Selenium and Test Studio for our requirement. The Test Studio provides better value if we do cost benefit analysis.
The projects that are being executed on Windows environment and if you are thinking of using open source framework like Selenium or watir for cost saving, then you should try Test Studio before final decision. Even for web sites that are developed in Java or PHP can take benefit of Test Studio as Web Testing is based on HTML and browser.
55 comments:
Hey Ahmad! Great article!
Here is a very recent in-debth comparison between Selenium and Telerik Test Studio by the Telerik team that you might find interesting: www.telerik.com/selenium-costs
Cheers,
Ina
Thanks for your post; selenium is most trusted automation tool to validate web application and browser. This tool provides precise and complete information about a software application or environment. Selenium Course in Chennai
Selenium now has Chrome support.
Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
Regards,
Informatica training institutes in Chennai|Salesforce training institute in Chennai
The information you have given here is truly helpful to me. CCNA- It’s a certification program based on routing & switching for starting level network engineers that helps improve your investment in knowledge of networking & increase the value of employer’s network,
Regards,
ccna training in Chennai|ccna training institute in Chennai|Salesforce training in Chennai
Some programs are never completed. They contact themselves with some delay (setTimeout()) and perform repeatedly and could potentially alter the HTML every time they operate. Critically, every "Internet 2.0" site does it.
I'm not able to launch Internet Explorer browser to run my Selenium Training Webdriver tool automated tests created in Java. I am using Windows 7 and IE9. Below is my code:
Available IE
Head to Tools -">> Internet Options -">> Security
Place all zones (Internet, Local intranet, Trusted sites, Limited websites) to the same guarded mode, enabled or disabled should perhaps not matter.
Eventually, set Zoom level to 100% by right clicking on the equipment located at the top right part and enabling the status bar. Default zoom level is now displayed at the lower right.
Hi,Thanks a lot and really happy to see such a wonderful comment.
Software testing training in trichy
lucky patcher review
I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.
selenium training in chennai
Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
amazon-web-services-training-in-bangalore
Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
Hadoop Training in Chennai
Hadoop Training in Bangalore
Big data training in tambaram
Big data training in Sholinganallur
Big data training in annanagar
Big data training in Velachery
Big data training in Marathahalli
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Devops Training in pune|Devops training in tambaram|Devops training in velachery|Devops training in annanagar
DevOps online Training
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.
rpa training in Chennai | rpa training in pune
rpa training in tambaram | rpa training in sholinganallur
rpa training in Chennai | rpa training in velachery
rpa online training | rpa training in bangalore
Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me
python training institute in chennai
python training in velachery
python training institute in chennai
hank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me
python training institute in chennai
python training in velachery
python training institute in chennai
Thanks Admin for sharing such a useful post, I hope it’s useful to many individuals for developing their skill to get good career.
java training in omr | oracle training in chennai
java training in annanagar | java training in chennai
Thanks for your informative article, Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.
Data Science course in rajaji nagar | Data Science with Python course in chenni
Data Science course in electronic city | Data Science course in USA
Data science course in pune | Data science course in kalyan nagar
A very interesting topic that you have discussed here, definitely, your tips help me out to reach my passion. I would love to see more updates. Thank you, admin.
Selenium Training in Chennai
Selenium Training
Loadrunner Training in Chennai
Loadrunner Training
Qtp training in Chennai
Qtp training
I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating us.
PHP Training in Chennai
PHP Course in Chennai
PHP Training Institute in Chennai
PHP course
PHP Training
Best PHP training in chennai
In the beginning, I would like to thank you much about this great post.
I like your writing style and I hope you will keep doing this good working.
Spoken English Institutes in Chennai
Chennai Spoken English Class
Spoken English Center in Chennai
Spoken English Training in Chennai
Best Spoken English in Chennai
English Language Classes in Chennai
Best English Course in Chennai
English Language Training Chennai
Impressive. Your story always bring hope and new energy. Keep up the good work.
angularjs-Training in velachery
angularjs Training in bangalore
angularjs Training in bangalore
angularjs Training in btm
angularjs Training in electronic-city
Amazing information,thank you for your ideas.after along time i have studied an interesting information's.we need more updates in your blog.
Cloud computing courses in Bangalore
Cloud Computing Course in Anna Nagar
Cloud Computing Training in T nagar
Cloud Computing Training Institutes in OMR
Thank you sharing this kind of noteworthy information. Nice Post.
bizreviews
Technology
It is great to come across such kind of posts which is noteworthy. Good work, Keep updating.
Big Data Hadoop Training in Saidapet
Big Data Hadoop Training in Aminjikarai
Big Data Hadoop Training in Vadapalani
Big Data Hadoop Training in kelambakkam
Big Data Hadoop Training in karappakkam
Big Data Hadoop Training in padur
Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting.
Photoshop Training Classes in Chennai
Best Photoshop Training in Chennai
Photoshop Course Training in Chennai
Photoshop Course
Photoshop Classes
Photoshop Training
Photoshop Classes for Photographers
Nice blog!! I really got to know many new tips by reading your blog. Thank you so much for a detailed information! It is very helpful to me. Kindly continue the work.
Spoken English Classes in Chennai Anna Nagar
Spoken English Classes in Mogappair West
Spoken English Classes in Chennai Ayanavaram
Best Spoken English Institute in Anna Nagar
Spoken English Classes in Chennai Purasawalkam
Spoken English Class in Anna Nagar
Spoken English Classes near me
Good to see this blog admin, I learned a lot about selenium. Keep sharing more like this.
ccna Training institute in Chennai
ccna institute in Chennai
ccna Training center in Chennai
RPA Training Institute in Chennai
Blue Prism Training in Chennai
UiPath Training in Chennai
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.
Java training in Chennai | Java training in Tambaram | Java training in Chennai | Java training in Velachery
Java training in Chennai | Java training in Omr | Oracle training in Chennai
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
Best Devops Training in pune | Java training in Pune
This is such a great post, and was thinking much the same myself. Another great update.
python training in chennai | python course institute in chennai | Data Science Interview questions and answers
When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.
Advanced AWS Interview Questions And Answers
Advanced AWS Training in Chennai | Best AWS Training in Chennai
Advanced AWS Training in Pune | Best Amazon Web Services Training in Pune
Amazing Post. I am very much impressed with your choice of words. The content showcases your in-depth knowledge in this subject. Thanks for sharing.
Social Media Certification
Social Media Classes
Social Media Marketing Certification
Social Media Marketing Classes
Social Media Marketing Training Courses
Social Marketing Training
Social Media Online Training
Extra-ordinary. The way you narrate the post makes it a exemplorary piece of work. Pls Keep writing.
Tableau Training in Chennai
Tableau Course in Chennai
Tableau Certification in Chennai
Tableau Training Institutes in Chennai
Tableau Certification
Tableau Training
Tableau Course
Wonder-full post thanks for sharing
Tableau training certification in chennai
This is most user friendly and informative.Keep posting more blog like this,Thank you...
Hadoop training in Bangalore|
Big Data Analytics Training in Bangalore|
Hadoop Training in Bellandur|
Hadoop Training in Bangalore
Hadoop Training in Marathahalli
Amazing blog with the recent news. Thank you very much for sharing such helpful data...
Big Data Analytics Training in Bangalore|
Hadoop Training in Bellandur|
Hadoop Training in Bangalore|
Hadoop Training in Marathahalli|
Hadoop training in Bangalore
I went through your blog,it helped me a lot,and I also received some new information...
Hadoop Training in Marathahalli|
Hadoop training in Bangalore|
Big Data Analytics Training in Bangalore|
Hadoop Training in Bellandur|
Hadoop Training in Bangalore
Good information.Thank you for sharing this wonderful article.It was so good to read and upgrade my understanding...
Big Data Analytics Training in Bangalore|
Hadoop Training in Bellandur|
Hadoop Training in Marathahalli|
Hadoop training in Bangalore|
Angular JS Training in Bangalore|
Big Data Training in Bangalore
Lovely tutorial. Thank you for sharing, I went through your blog, it assisted me a lot and I got some fresh data as well...
salesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
Thanks for sharing an informative article. keep update like this...
AWS Training in bellandur
Marathahalli AWS Training Institues
Kalyan nagar AWS training in institutes
Data Science Training in bellandur
Data Science Training in Kalyan Nagar
Data science training in marathahalli
I went through your blog, it was very helpful to me and I got some fresh data as well...
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
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.
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
Thanks for Posting such an useful stuff...
training mulesoft
Awesome Post!!! I really enjoyed reading this article. It's really a nice experience to read your post. Thanks for sharing.
Data Science Course
Data Science Course in Marathahalli
Data Science Course Training in Bangalore
Thanks for Sharing This Article.It is very so much valuable. oracle training in chennai
You should be a piece of a challenge for probably the best website on the web. I will suggest this site!
best interiors
Informative blog
data analytics courses in ahmedabad
Thanks for sharing wonderful information…I also want to share some information about Signova Group
Wonderful blog. I delighted in perusing your articles. This is genuinely an incredible perused for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome!
data analytics course in hyderabad
Nice blog and informative. I appreciate your efforts in this blog. Wishing you the best of luck in your future blogs.
Data Science Training Institute in Hyderabad
Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notice that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing.
data science course fee in hyderabad
Post a Comment