Posts Tagged ‘Selenium Testing’

Q&A: Reducing False Positives in Automated Testing

May 5th, 2015 by Bill McGee

Last month, QASource and Sauce Labs partnered together to present a webinar, Reducing False Positives in Automated Testing. We wanted to provide you with some answers to the most commonly asked questions in response to this webinar. Please feel free to comment with additional questions and let us know how the techniques to reducing false positives have impacted your automation testing.

Q: Are there specific tests to avoid while automating to eliminate false positives in automated testing?

A: When automating tests, first you must define your goal to determine which types of test to automate.  While setting your goal, you should avoid the following:

  • Unstable areas or areas with frequent UI changes
  • Scenarios which are not supported by your automation tool.  For example, if you are using Selenium, you shouldn’t go for tests that require interaction with Windows 32 components because Selenium does not support desktop based applications.
  • Areas which have been identified to have performance issues
  • Areas which cannot be identified using unique locators

Q: How do you identify a well written automated test?

A: A well written automated test is defined by the way we structure our test script, workflow, and tear down fixture.  The script should only contain these strips and verifications points.  This will allow test cases to have 1:1 mapping.  In addition, well written automated tests should not contain any hardcoded data and exceptions should be handled.  All well written automated tests should follow best coding practices, commenting and naming conventions. (more…)

Practical Tips + Tricks for Selenium Test Automation [RECAP]

April 7th, 2015 by Bill McGee

selenium testing & sauceThanks to all of you who joined us for Practical Tips + Tricks for Selenium Test Automation with expert Dave Haeffner – author of The Selenium Guidebook.

In this webinar, Dave explained the best and most useful tips & tricks from his weekly Selenium tip newsletter (elementalselenium.com).

Topics covered included: (more…)

Announcing Sauce Labs’ New Platform Configurator

November 17th, 2014 by Bill McGee

selenium platformsWe’ve just released our new platform configurator that easily generates the code you need to configure your automated tests to run on Sauce. You can select the automation API, device type, operating system, and browser version you want to test with, and it will automatically generate a snippet of code for those desired capabilities. You can toggle between code generated for different languages. (more…)

Sauce Labs Adds Support for Chrome and Firefox Beta and Dev Versions

November 14th, 2014 by Bill McGee

browser dev versionsWe’re excited to be releasing support for testing on Chrome and Firefox beta and dev versions for Mac OS X, Linux, and Windows. The beta and dev versions are available for both automated and manual testing. And to give you access to new platforms as quickly as possible, we’ll continue to add support for bleeding edge versions the day they’re released. (more…)

Test Automation Link Round-Up

November 13th, 2014 by Bill McGee
The Internet was kind to us last week. Here’s a quick round-up of some pieces on automated testing, Appium and other mobile test tools, and Sauce Labs. See below for snippets and links to the full articles.

 

Mobile testing tools are experiencing a growth spurt. New products and services emerge nearly every day, and the time and energy needed to evaluate them may make all the free trials in the world seem not so free. This article looks at several mobile testing tools, listing their benefits, features and tradeoffs to help testers and IT managers make smarter investment decisions. 
Click HERE to read more.

 

This guide provides a compendium of Selenium WebDriver resources to help beginners or advanced users learn about the Browser Test Automation framework. The guide also includes various other platforms and tools that allow you to build out a Test Automation Framework.
Click HERE to read more.

 

Use of automated testing software is gaining popularity for many reasons. Automated software testing enables an organization to leverage technology to perform mundane repetitive tasks efficiently, saving both time and cost. Another side effect of automating your test is that It gives you more time to create tests, increasing overall test coverage. However, these benefits come at a cost. Data shows that about 80% of Automation initiatives fail for various reasons. To ensure that the test automation is successful and offers maximum ROI, one should follow certain best practices. 
Click HERE to read more.
Have an idea for a blog post, webinar, or more? We want to hear from you! Submit topic ideas (or questions!) here.

Ask a Selenium Expert: Selenium Grids, Scaling, and Parallelization

May 7th, 2014 by Bill McGee

selenium testing & sauceThis is part 5 of 8 in a mini series of follow-up Q&A’s from Selenium expert Dave Haeffner. Read up on the firstsecondthird, and fourth.

Dave discussed  how to build out a well factored, maintainable, resilient, and parallelized suite of tests that run locally, on a Continuous Integration system, and in the cloud in our recent webinar, “Selenium Bootcamp“.

Following the webinar, there were several follow-up questions. Dave’s agreed to respond to 8. Below you’ll find the fourth Q&A. Stay tuned next Wednesday for the next question.

5. ­Is Selenium Grid still relevant/useful for parallelization? ­

Selenium Grid is a great option for scaling your test infrastructure if you’re okay with handling the overhead of spinning up/maintaining a bunch of machines. It, by itself, will not give you parallelization. That is to say, it can handle however many connections you throw at it, but you will still need to find a way to execute your tests in parallel. You can learn more about Selenium Grid on it’s project main page.

-Dave Haeffner, April 9, 2014

Can’t wait to see the rest of the Q&A? Read the whole post here.  Get more info on Selenium with Dave’s book, The Selenium Guidebook, or follow him on Twitter or Github.

Have an idea for a blog post, webinar, or more? We want to hear from you! Submit topic ideas (or questions!) here.

Selenium At Saleforce Scale: Webinar Slides And Recording

April 29th, 2014 by Bill McGee

sfdc-logoEarlier in April Sauce Labs hosted a webinar with Lead Engineers from Salesforce, David Louvton and Sagar Wanaselja, who spoke about Selenium at Salesforce Scale. Topics included the details of their engineering team, running their Selenium farm, scaling issues, Selenium design patterns, and how to overcome test failures.

If you missed the event, or if you just want to review the material we covered, please check out the recording and slides here:

Webinar Recording
Webinar Slides

Have an idea for a blog post, webinar, or more? We want to hear from you! Submit topic ideas (or questions!)  here.