September 27, 2018
An era has come to an end. It's time to move on to a new and modern blogging website.
My next blog posts will be published on https://medium.com/@arnonaxelrod
September 26, 2018
A question that comes often, especially by folks that are new to Selenium, is what are the best practices to use when choosing a locator for an element. In other cases, people just have bad habits and don’t even think to ask this question, but they encounter instabilities or maintenance problems, without knowing that they don’t use the locators effectively.
For the sake of clarity, a locator is the combination of the type and the value of the By clause which Selenium WebDriver uses in the FindElement and FindElements methods. As you probably know (given you’re familiar with Selenium), Selenium...
July 10, 2018
I’m very proud to let you know that I finally completed writing the book I was working on for the last 2 years. While at first I called it “Succeeding with Test Automation”, when Apress Publishing suggested to publish my book they suggested the better name: “Complete Guide to Test Automation – Techniques, Practices and Patterns for Building and Maintaining Effective Software Projects”. According to Apress, it should be published at the beginning of September. Obviously I’ll update this post with the link to Amazon when it will be available.
From the back cover:
Rely on this robust and thorough...
March 6, 2017
Now I decided to share the demos and you can find it here.
Each demo is contained in a Test Case method. Most of them use a specific super-simple HTML file that is part of the project too. Note that not all tests pass, and this is by design!
Here's a short description of the test cases:
IsItABugInSelenium - If you just open...
November 9, 2016
Long time since I last wrote here, but if you'll take a look at the draft of my book, you'll see why... By the time I'm writing this post I wrote 80 pages in the book, and hopefully when you read it there will be even more.
Anyway, today I want to share with a screen cast that I recorded with one of my clients, in which I show to a new automation developer on the team how to create a new automated test and explain how I'm going about building a highly maintainable framework. The video is in...
July 3, 2016
I'm super excited to let you know that I started writing a book, called "Succeeding with Test Automation". By now I wrote only 1.5 chapters, but that's something too :-)
UPDATE: I already wrote 82 pages and 7 chapters. Stay tuned for more!
You can find the draft here, and I'll update it from time to time as I proceed. I still don't know when/where/how I'm going to publish it, but I guess that when it will be closer to completion I'll know better.
At the meantime, I'm looking forward for your feedback!! It's really important to me!
Thanks in advance,
April 21, 2016
For all non Hebrew readers: in this post I'm sharing some videos from a course I led about "Advanced programming skills". Because the course was in Hebrew (and therefore the videos are too), then it's only relevant to Hebrew readers. Sorry about that :-)
ועכשיו לעברית: בחודשיים האחרונים העברתי קורס פנימי לעובדי סלע. מטרת הקורס שכלל 8 מפגשים בני כשעתיים כל אחד, היתה שיפור מיומנויות התכנות. הקורס עסק בהעמקת היסודות והבנת התהליכים שקורים במחשב (שפת מכונה, קומפילציה, מערכת ההפעלה, CLR וכדו'), ובמיומנויות של Clean Code ו-Refactoring.
אני שמח לבשר לכם שהקלטנו את כל המפגשים בוידאו ועכשיו אני יכול לשתף בהם את...
March 20, 2016
I'm excited to share with you that I've added a new library to the Test Automation Essentials suite, that includes reusable code for Selenium based tests!
This is a Beta version because it still doesn't include XML documentation and unit tests, which I try to include in the released versions. However, it is tested and is used in production in one of my customers!
To start using it, simply add it as a NuGet package as follows:
Right click on the Project References
Select "Manage NuGet Packages..."
Make sure that "Online" is selected
In the search box, type "TestAutomationEssentials.Selenium". The package should appear in the...
January 14, 2016
As a long time avid listener of the greatest podcast for .Net developer - ".Net Rocks" , I'm very excited to let you know that I'm the guest at show 1243! In this show titled "Successful Test Automation with Arnon Axelrod", I'm talking with the Carl and Richard (the hosts of the show) about best practices in test automation and how to write a good test automation suite that is valuable and easy to maintain. I also talk about my Test Automation Essentials GitHub project I announced in a previous post.
Please listen up and tell me what you think! I'd like to...
January 3, 2016
UPDATE: For some reason, the solution as it was before didn't always work. I don't understand the root cause, but the solution was simply to remove the "-file" at the start of the arguments of the Task's action. I now fixed the instructions below accordingly.
When doing any kind of UI automation, there are several cases that a desktop session will be active. I’ll get to what it actually means in a second, but first I want to list some of the common problems that people encounter that are caused by not having an active desktop session:
1. In Coded UI,...