Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Under the right circumstances, it can allow for faster testing with fewer ...

learn more… | top users | synonyms (2)

7
votes
4answers
44k views

Webdriver Check if Checkbox is Set and Set it if Not

I am learning Webdriver with JUnit by going through Alan Richardson's Selenium Simplified book and taking translating the exercises/tests from Selenium RC to Webdriver. So far, this has proven to be ...
7
votes
4answers
4k views

what is the best way to write automated end to end user scenarios?

When automating user scenarios, we typically cover an end-to-end user flow. Unit testing recommends that each test method should be independant and only test one thing. But things are different in ...
7
votes
5answers
7k views

Testing Page Layout with webdriver

Has anyone tried to test the page layout of a website using webdriver? To be specific, using webelement.getPosition() and webelement.getDimension(). Shouldn't these two methods be enough for testing ...
7
votes
4answers
6k views

Automation and bypassing Google No CAPTCHA reCAPTCHA

My client want to use Google's No CAPTCHA reCAPTCHA (NCRC) to prevent robots completing an application. QA have automated this process, but if the business introduce NCRC into the form, then this ...
7
votes
3answers
2k views

Attach to browser not spawned by Selenium2

One of the things that I miss about WatiN is the ability to attach to browser instances that were not spawned by Selenium. In my last position, this was the whole reason why I used WatiN, as the ...
7
votes
1answer
719 views

Test Automation Design Question

I am analyzing automation design for a web app UI Layer Web Service Layer DB Layer Intranet based app and limited user base My Approach for automation is Web Services layer Test automation ...
7
votes
7answers
695 views

Recommend Automated test tools for cross platform including IE and .NET software

I'm working in an QA team. We do the automated work from the scratch. So many testing methods may be anti-pattern or disobey some discipline. We pay lots of effort on test web pages on our products....
7
votes
2answers
3k views

Open-source/freeware testing tool for Set-Top Box

According to Wikipedia a set-top box (STB) is: an information appliance device that generally contains a tuner and connects to a television set and an external source of signal, turning the source ...
7
votes
3answers
2k views

Automated testing of Oracle Forms

What is the best test automation tool you'd recommend for testing Oracle Forms and why? Assuming a Windows desktop environment.
7
votes
1answer
9k views

How to use Selenium's PageFactory annotations with dynamic loaded elements?

I'm rewriting some Selenium tests according to the page object design pattern taking advantage of Seleniums' annotations. My problem is that I have some html select elements whose option elements are ...
7
votes
1answer
251 views

Is it possible to automate Silverlight in windowless mode?

Does anybody have an application under test (AUT) that uses a mixture of HTML and Silverlight controls, which they have successfully automated? My AUT web app has screens with a mixture of HTML and ...
7
votes
2answers
393 views

How have Guava unit tests been generated automatically?

Guava library for Java has unit test cases automatically generated: Guava has staggering numbers of unit tests: as of July 2012, the guava-tests package includes over 286,000 individual test ...
7
votes
5answers
5k views

Selenium.click not working on some anchor elements

The application that am working on was recently revamped and as part of that a new JQuery calendar was introduced. I need to click on a link in the calendar to select the time and date. However, ...
7
votes
1answer
931 views

Continuous Integration and testing environment and configuration for Android

I am an Android developer but I am not satisfied with my testing and Continuous Integration environment and configuration. Someone could recommend me how to configure the best setup and workflow for ...
6
votes
6answers
1k views

What are anti-patterns in test automation?

anti-pattern: There must be at least two key elements present to formally distinguish an actual anti-pattern from a simple bad habit, bad practice, or bad idea: A commonly used process,...
6
votes
5answers
4k views

Which language gives better career options: TCL or PERL?

I am an engineer with 1.5 years of experience in Test Automation in Perl. I am getting chance to work in TCL. I am little worried about my career growth. I don't know whether TCL also has the same ...
6
votes
2answers
6k views

What is the difference between Software Test Engineer, Test Automation Engineer and Software Developer in Test (SDET)?

Software Test Engineer usualy performs “manual” testing (without spending time on automating and supporting the tests). Usually is responsible to find all (as more as possible) critical bugs in the ...
6
votes
5answers
1k views

What Are Some Unobvious Differences Between Testing a Web Application and a Desktop Application?

In the same flavour of this question, what are some unobvious differences between testing a web application and a desktop application? I've recently started looking at automating some GUI tests for a ...
6
votes
10answers
13k views

Is mail testing with selenium possible?

We have merely just had a kick off meeting for a new project that I am required to automate ASAP. The project is essentially a "mailbox project", if you will, and I have no idea as to where to start ...
6
votes
5answers
1k views

Suite of automated tests - owned by devs or testers?

I'm working on a project that involves 4 developers and three QAers. I've tried to encourage the other devs to write tests for every new feature they have added, and we have built up a suite of ...
6
votes
5answers
6k views

Manual tester wanting to get into automation

So its been a year since I have been studying python, and just recently I started picking up webdriver. It was a long journey, and I am still pretty noob, but I finally understand how to use it lol. I ...
6
votes
3answers
632 views

Testing random number generation

I have a program which generates random numbers. How can I test if the random number generator is generating actual random numbers?
6
votes
5answers
538 views

What proportion of different types of software testing does your team use?

Note: I've asked this over on SO and p.SE and it got closed. I'm not trying to game the system, just looking for a home :) I'm seeking a little "wisdom of crowds" estimation or a pointer to an ...
6
votes
6answers
2k views

What are the advantages of automated user acceptance tests?

I'm completely new to this stuff, and for what I've seen it takes a while to get used to it. I once tried, but felt I was spending way too much time just writing the tests, or just fixing them 'cause ...
6
votes
8answers
266 views

What to do with Limited Time/Testers - What is most Important?

In an ideal world we'd have Acceptance Tests-->Unit Tests-->Integration Tests-->Test Plans and Automated GUI Tests (With Selenium or something). But where does it start to get cut out when you just ...
6
votes
5answers
5k views

What are some good approaches to separating test data from test scripts?

We're working on test code (mainly UI tests with a few different tools). One thing that's really stumping me is how to best separate test data from test scripts. By test data, I mean values that get ...
6
votes
9answers
577 views

How do I satisfy external auditors that automated tests are at least as effective as manual tests?

My company is not an anti-automation place. In fact, one of the reasons they hired me was to bring in some expertise in test automation. The problem is that the current processes and procedures in ...
6
votes
4answers
469 views

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due ...
6
votes
1answer
1k views

Your suggestions for writing reliable Web UI automation

Web UI automation is unreliable. I presume it is possible to increase the reliability of Web UI tests. One such advice would be to put an abstraction layer on top of your test that does actual DOM ...
6
votes
2answers
168 views

What is the difference between automation tests and test automation?

Is there a difference between automated tests and test automation? If so, what are the main goals of the individual tests?
6
votes
6answers
609 views

How to manage a lot of automated test cases

We are a team of 8 QA Analysts. We have automated more than 3,000 test cases for our application. As this number grows bigger and bigger, we are having issues controlling tests that are already ...
6
votes
4answers
5k views

Do you verify presence of text in your automated tests?

While automating multi locale application I had to stop using - assertTrue(selenium.isTextPresent("success text message")); where success text message would change for each locale. to - ...
6
votes
3answers
165 views

Structuring Selenium tests to avoid duplication

I'm refactoring our test suite to take advantage of page object pattern. I'm missing how to structure the actual tests. Lets say that I want to test StackOverflow posting and deleting. Once scenario ...
6
votes
7answers
831 views

Should tool generated test data be deleted during tear down in test automation?

I have seen this recommendation many times that tear down is supposed to clear test data which is created during tests. This is supposed to avoid interference with any future tests. For example email-...
6
votes
2answers
7k views

Solving “SeleneseTestCase is deprecated” issue

I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some ...
6
votes
4answers
19k views

How to Implement Page Object and Page Factory Pattern in Selenium Webdriver?

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial? Kindly help me explain it with detailed explanation. ...
6
votes
4answers
7k views

What are recommended scenarios to use Selenium Tests for?

My company is introducing BDD into our projects. Our customers have differents processes-cases wich also may fork at specific points. It is a mostly long and tedious work to test each case and each ...
6
votes
6answers
6k views

Any personal experiences on EggPlant, cross platform and application automated testing tool?

As a cross platform, cross application automated testing system EggPlant looks too good to be true. Has anyone implemented a large automated testing project using it and what were your experiences?
6
votes
4answers
521 views

Test Automation Engineer, no record-playback?

I want to become a test automation engineer in the future. The thing that is concerning me is this: I have always thought that test automation is using record-playback to test different application. ...
6
votes
8answers
597 views

QA Manager with no programming background looking to self-educate in SQE

I am a SQA professional with 15 years of experience. My industry experience is in games and in social network mobile platforms. I'm a very accomplished team leader and mentor, with more than a small ...
6
votes
2answers
108 views

Is there a way to identify that a Disk is removable ?

On windows XP/7, is there a way to identify from a script (never mind the script language being used) that a disk is not a network or fixed drive?
6
votes
2answers
691 views

Why does selenium fail every so often when running more complex tests because it can't find an element on the page?

private IWebDriver driver; private ChildSearchPage currentChild; private IWebElement divMeetingsTab { get { return driver.FindElement(By.Id("Content_InfantTab1_divMeetings")); } } private IWebElement ...
6
votes
1answer
327 views

Building trust in automated front-end testing

I recently came across a Google Tech Talk during which the speakers seemed to stress that trust in a test suite is crucial to the overall software development process. Here the link. Can anyone share ...
6
votes
4answers
373 views

How to keep track of the features in a website for impact analysis?

I have been working for an ecommerce client for the last 6 years as manual and automation QA engineering. New features gets applied to our site once in 2 weeks. Whenever a redesign project comes up, ...
6
votes
2answers
2k views

What could cause a “command failed” error when using the Word.Application object to compare two documents?

I have two word documents that are a "result" of a test and an "expected result". I'm using the following code to compare the two and check for differences. Sub CompareTest Dim wrdApp Dim ...
6
votes
2answers
4k views

QTP vs Selenium [closed]

I have largely worked with Selenium for front end automation. Looks like there is great market for QTP in this arena, especially when you could afford commercial tools. Have you worked with both QTP ...
6
votes
2answers
194 views

What are the advanced tools/technologies used in Automation testing? [closed]

This is the very interesting question asked to me in 2nd technical round of interview. I have told him about advanced automation tools like- Selenium, Appium, Selendroid, Sikuli. Is there any other ...
6
votes
1answer
1k views

Automated tests performed on Google Chrome?

I've been using the Canary build (nightly build) of Chrome for a month now. So far the quality has been high and it has worked without any major issues. Can someone describe the automated testing ...
6
votes
4answers
407 views

Difference in Web Services & REST/SOAP API from Black-box Tester perspective

I have practically tested web-services/APIs (testing back-end requests of mobile apps, JMeter scripting for a web-application) but when it comes to differentiating between web-services/APIs(REST/SOAP) ...
6
votes
2answers
238 views

How to avoid flakey E2E selenium tests?

I'm under the impression that most of the E2E selenium tests are flakey. A major reason seems to be timing issues. Another one is that they often test against servers that are not controlled by the ...