Search posts:
Categories
- ASP.NET (2)
- Documentation (6)
- F# (1)
- object-oriented-principles (1)
- programming (1)
- Selenium (2)
- software-patterns (1)
- SpecFlow (1)
- SysInternals (1)
- Uncategorized (1)
- Unit test (3)
- VS 2013 tips (1)
- WEB API (6)
- XML (1)
Archieves
- January 2018 (1)
- November 2017 (4)
- October 2017 (1)
- November 2016 (2)
- September 2016 (1)
- May 2016 (1)
- April 2016 (1)
- March 2016 (2)
- September 2015 (1)
- June 2015 (2)
- December 2014 (2)
Blogs I Follow
Top Posts & Pages
Author Archives: Alexander
AutoFixture > Customize objects creation with ICustomization interface
In this post we will look at AutoFixture basic customization features starting with ICustomization interface. We will use following DateRange class as demonstration example. If we write test method using DateRange as parameter: Test will sometimes fail with “System.ArgumentExceptionFinish date … Continue reading
Using discriminated unions to fix Liskov substitution principle violation
As an example of LSP violation, I will consider e-commerce payment system design. One needs to develop generic mechanism for multiple payment service providers (PSP) that are using on checkout step. From the requirements there are different kinds of PSP in terms of integration. … Continue reading
FAKE.IIS Add application to existing IIS site
Recently I had a task to change IIS application path in existing IIS site. That was repetitive operation so I decided to write script for it. I recently began to study F# and function programming so decided to try FAKE. There is … Continue reading
Tools and libraries to consider when writing autotests
Below is a summary of tools/libraries I have used to build maintainable suite of auto tests on large ecom project. While it is hard to start without test framework :), some autaaof the libraries listed below could be easily omitted … Continue reading
How to identify process ID in PerfMon
Last time I need to troubleshoot memory leak in IIS process hosted on productions server I decided to start with PerfMon and got stuck on Add Counters screen, where I saw seventeen w3wp (IIS process name) processes up to w3wp#17. Here for … Continue reading
Software developer productivity
From the starting of my software developer career I wanted to be as productive as possible. And the worst feeling I could have, was when I was working on a problem that I have already solved before, and need to … Continue reading
Posted in Uncategorized
Leave a comment
Better handling ‘NoSuchElementException’ using simple remote web driver wrapper
While implementing test scenarios, I often write some element selectors wrong and finally get ‘NoSuchElementException’ when run the test. Unfortunately it does not specify, which selector caused the problem. Its message only says the following: OpenQA.Selenium.NoSuchElementException: no such element (Session … Continue reading