Category: Tips

Pixel Ratio Confusion

Tuesday Tip Day – Pixel Ratio

This is a tip being written off the back of me struggling with an issue, in the hope that it will save someone the stress I went through. The context. Taking full screen mobile screenshots on mobile devices via a platform like BrowserStack, where the screenshot is being taken on a real device. On mobile…
Read more

Pixel Ratio Confusion

Tip – Take Pride in What You Do

Normally, these articles in the ‘Tip’ series are technical in nature and give you useful tips to help you in your tests or frameworks. However, occasionally I like to try and give tips or advice in areas that are not technical, but still aim to help you become a better automation tester through an improved…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – Debugging Failing Tests and Closed Browsers

Ok…so it’s not exactly Tuesday in the UK at the time of writing this, but in Australia, it is technically Tuesday already so I’m going with that! This is a very simple tip, but one that might save people a lot of frustration. I’m sure you’ve been in this situation before, your test is failing…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – Multiple Asserts with Nunit

Ok so it’s not technically Tuesday, but I’m only a day late and besides, Wednesday Tip Day doesn’t quite work. So todays tip is all about how to deal with tests that might have multiple asserts. You might be thinking that it really isn’t something that requires a tip, as it’s just a case of…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – Dealing With Tabs

When writing your automated tests for websites, you will some times have to deal with opening a new tab when clicking links or performing certain tasks. If you’re using Selenium, then it’s quite easy to think that because WebDriver only drives a single browser window, that it will also fail to deal with multiple tabs.…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – Handling File Downloads

It’s a common misconception that when writing automated tests using Selenium, that anything that happens outside of a browser window or the scope of the application, can’t be tested and there’s no way to deal with it. This can sometimes be the case but more often than not, there will be a way to handle…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – Turn Off JavaScript

Sometimes when designing a website or web application, it’s important to try and plan for the different kind of visitors that will be visiting your site. One of the more troublesome visitors you might get is someone who has their JavaScript turned off within their browser, either due to their security software, or just being…
Read more

Pixel Ratio Confusion

Tuesday Tip Day – WebDriver Screenshots

As part of a new series of articles for the site, I’m going to post a brief article containing a random tip for improving your automation skillset, from Selenium to Powershell. In this first week, we’re going to look at taking screenshots in Selenium WebDriver tests, which can be extremely useful for providing evidence for…
Read more

Pixel Ratio Confusion

Tip – Be a Better Automation Tester

Being an automation tester these days is great, you own (or are learning) a skillset that is very much in demand. From start ups to large established tech companies, everyone wants what you can offer. But because of this, more and more people are going the route of automation and teaching themselves these skills. Which…
Read more

Pixel Ratio Confusion

Tip – Avoid Being on the Defensive

Writing code can be a hugely satisfying exercise. When you’ve finally cracked the solution to that problem you’ve been trying to solve for hours or even days, and the code just flows from your fingertips, it can leave you with a great sense of achievement and confidence. And rightly so.  Unfortunately, however, the reality of…
Read more