![]() It also generates a ton of code since it literally mimics every action you perform. (QA maybe) Although for this scenario, I wanted to hand write these tests to have complete control over everything, so the recording IDE was more than I needed. Coded UI did have a very nice test recorder IDE that is built right into Visual Studio, this was definitely a pro, and is something that could come in very handy for someone who wants to write tests in C# but has limited knowledge of the language perhaps. To me that suggests that it’s not as easy as it should/could be. ![]() There are even extension libraries out there to help with this. It just wasn’t as “easy” as I though it should be to do simple things, like finding an element on a page, and entering some text, etc. Plus, it being essentially “built into” Visual Studio was a pro for me.Ĭoded UI was initially pretty painful for me. It was new to me, and I wanted to learn a little bit about it before deciding if it would be a good fit. It was this reason that actually had me initially go down the road of using Coded UI. I have also had some previous experience writing tests with Selenium. This is the only reason that I could even consider using the Selenium WebDriver, as it does not support testing of non-web applications. There are quite a few articles out there that break this down, but I am going to give you some thoughts from my personal experience with both of these testing frameworks.įirst of all, I should mention that I will be testing an MVC web application. Before I started down this road, I naturally googled “Selenium vs Coded UI”, to get an idea of differences, pros and cons of each, etc. I have recently started work on introducing some basic automated UI tests to one of our solutions. I should mention that this is not intended to be a full in-depth review and comparison of the two UI testing frameworks, just a quick post on my general thoughts after using both of them on the same project.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |