Tagged Questions

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.

learn more… | top users | synonyms (2)

3
votes
1answer
730 views

How to transfer Test Cases from one TFS2010 server to another

We have two TFS servers, one we use for testing the output of our developers, and one we use for testing features in TFS. The main problem with this is that it means I have to create new test cases to ...
3
votes
2answers
2k views

iOS UIAutomation UIAElement.isVisible() throwing stale response?

I'm trying to use isVisible() within a loop to create a waitForElement type of a function for my iOS UIAutomation. When I try to use the following code, it fails while waiting for an element when a ...
5
votes
1answer
107 views

Is there a good way to structure my test code so I don't have to duplicate tests for different browsers using WatiN

In my WatiN tests I am currently structuring the test like this: [TestMethod] public void Failed_Attempted_Login_Invalid_Combination() { using (var browser = new IE(baseUrl + "login.aspx")) { ...
9
votes
4answers
311 views

Test Automation for different Locale?

I have begun with automation for a product which is in one language and soon to be ported in another. The only good thing is - Test Automation is just begun. So there are two things which worry me - ...
4
votes
3answers
12k views

List and role of different types of testing environments

There are numerous of different testing environments that I have come across with, and ALL of them seem pretty useful and helpful but which ones are necessary. For example ... I have seen: ...
6
votes
1answer
6k 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 ...
6
votes
1answer
629 views

PageObjects: Aggregation/Composition vs Inheritance for nested components

I need to refactor my Selenium tests, and was wondering what the best design solution would be for a portal with a hierarchical page organization. We are using tiles, and we have defined a baselayout ...
7
votes
1answer
2k views

Is Selenium's LoadableComponent a good solution as test design pattern?

I need to refactor my Selenium tests, and come across their LoadableComponent wiki page. I began trying to use it, though I couldn't really understand what is it good for. I took a look at their ...
2
votes
1answer
467 views

Philosophy to write Objective-C unit test

I am a really lost about it. I can study how write and run unit test in Objective-C with XCode, but I don't see how useful it is. In resume, you have to write a method that will be called first to ...
10
votes
9answers
865 views

Can someone be a good automated tester and be terrible programmer?

I'm currently working as an automated tester. Mostly I do GUI testing in SilkTest, which I like and think I'm fairly good at. Recently, I've been assigned a COM-testing project for our application's ...
4
votes
2answers
384 views

What's the most efficient way to run lots of tests?

Here's my current setup: Compile on teamcity Copy the dlls to 8 agents and run tests simaltaniousisly (via snapshot dependencies) Finally taper them in to a single 'publish' build configuration. ...
5
votes
1answer
529 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 ...
3
votes
1answer
657 views

Selenium IDE has stopped recognising pop-up windows

I'm relatively new to Selenium and since the update to 1.0.12, when I run my tests, each case with a selectWindow command fails. If I run these steps seperately, by clicking individually, it passes, ...
2
votes
3answers
1k views

Automate verification of emails being received

One of the applications that I have to do an enhancement to soon has a number of emails that are sent from the application. To the point of verification, I need to see the delivery failure ...
3
votes
3answers
154 views

Xml Diffing Best Practices

There's a lot of xml out there, and diffing it against canned data has helped me in the past. But there's a few things I find I need to do: Delete segments of the xml I don't care about ...
3
votes
0answers
247 views

Fully qualify window path after upgrading to QTP 11?

After I upgraded from QTP 10 to 11, it required me to fully qualify my window paths using descriptive programming. For example, this sort of thing worked in QTP 10: ...
2
votes
1answer
97 views

Differences in methods to select an element based on content in XPath

Selecting an anchor link with content, such as <a>test link</a>, I can see three different ways to do it using XPath: a[text()="test link"] a[.="test link"] a[contains(text(), "test ...
4
votes
2answers
516 views

how to implement a given logged in user role through UI automation?

As suggested on StackOverflow I am posting this question here as well. I am having trouble how to implement the Given step (with SpecFlow for example) of a logged in user role throught Web UI ...
2
votes
3answers
2k views

What are the best tools available to test performance of a MVC web site

I am new to QA. I need to find best tools available to test performance of a MVC web site. Please help me.
10
votes
3answers
1k views

Is jQuery faster than CSS/Xpath selectors for IE 8.0 in Selenium1?

I am planning to run my existing Selenium 1.x tests in IE 8.0. After checking few blogs and reading this, I tried to run my tests using jQuery locators with the method mentioned here. My tests uses ...
5
votes
6answers
3k 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?
2
votes
4answers
847 views

Testing webservice engine: best practice

I am currently working in a web-service testing project. The web-service engine works on a large set of input data and returns some data that undergo a lot of calculations and filtering. The testing ...
9
votes
2answers
733 views

Layered Architecture of Test Automation Software

I was introduced to a 5-layer-model for GUI test automation frameworks, that was considered common knowledge. But I would be interested in a source describing this model. The layers are the following: ...
1
vote
1answer
441 views

How can I convince Squish to recognise the menu bar on Mac OS X?

I'm currently recording some python test scripts for a Mac OS X application using Squish for Qt, version 4.0.2. The menu bar of the AUT works fine if interacted with manually, but for some reason ...
5
votes
2answers
5k 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 ...
4
votes
2answers
1k views

Is drag-and-drop possible in watir-webdriver?

I would like to drag-and-drop one element to the position of another, triggered from within a watir-webdriver script. By "drag-and-drop" I mean picking up a draggable element and releasing it on ...
2
votes
2answers
2k views

switching windows with Selenium2 and c# where popup window has same title as originating window

I've been attempting to figure this out for the past two days, unfortunately with no luck. I'm currently automating a scenario where a new window for a form is popped up from the main application ...
14
votes
3answers
945 views

What's the recommended practice for separating unit tests from integration tests for automated testing?

On a project I've been working on, we've been steadily increasing the code coverage through tests. Some of these tests were done as integration tests, and some as unit tests. The integration tests can ...
5
votes
2answers
380 views

Where should test fixture code live?

I'm working in a primarily Windows / .NET system. I've written a test framework in C# that includes a test harness that runs fixtures (anything that implements the ITestFixture interface). These ...
7
votes
5answers
600 views

Testing email generation

Some applications generate emails. There may be multiple email formats based on the purpose of the message. The email may be destined for a single individual or a group. It may also be ...
3
votes
2answers
4k views

Looking for a test tool for Flash-based web applications. Any ideas?

I'm looking for a Selenium-like tool to test Flash-based web applications (specifically a guided interview with questions and form fields that the user navigates through to produce a document at the ...
6
votes
2answers
96 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?
9
votes
4answers
434 views

Should unit tests be executed as part of a build?

I worked at a company where unit tests ran as part of the build. The build failed if the unit tests failed. What are the benefits and disadvantages of that practice?
11
votes
12answers
3k views

Tools for testing iPhone apps

I was wondering if there any automation tools out there that can help with the process of testing an iPhone application on the device itself and not on a simulator. Ideally, it would have simulating ...
8
votes
8answers
407 views

Bugs keep reappearing in our GUI software during development. How should this be addressed?

We have a software product has a lot of usability features, and we're constantly changing it. We have issues with things like persisting scroll position which seem to get fixed, but then are broken ...
3
votes
4answers
6k views

Running Selenium test on TFS

I am currently working on implementing UI tests of .NET web application using Selenium RC. The tests are now coming together and I am beginning to look at how these will be incorporated into TFS. ...
6
votes
10answers
337 views

Should a test method test only one condition?

While writing automated test I come across situations when I include multiple verification points in one method but then I have also read/heard that one tests should make just one verification. Which ...
6
votes
3answers
2k views

What aspects normally differ when developing automation framework in QTP VS Selenium

I have worked in Selenium. For developing Web UI Functional Test automation suite I considered below aspects Using TestNG Framework Using Page Object pattern XML based configuration Logging of ...
3
votes
4answers
401 views

testing Touchscreen driver

I am testing a touch screen driver for an embedded device. Unfortunately it is tightly coupled to the hardware so simulated data can't be pushed in real time in order to simulate real usage. Basic ...
9
votes
10answers
21k views

Best free (or very cheap) automation tool for Windows GUI testing?

I used to use vTask Studio, but it seems they've abandoned it. No updates in almost a year.
11
votes
4answers
206 views

If I didn't use TDD but want to transition to agile, should I go back and create those unit tests?

In an transitioning agile environment, if there was no Test Driven Development (no unit tests created), should you create unit tests to catch up on technical debt? And to what extent? Should they ...
4
votes
3answers
6k views

How do I handle the login modal dialog created by onLoad in a WebDriver & Java based test automation

I am working on the test automation that uses WebDriver (Selenium 2) and Java. The AUT is web-based application. A modal dialog pops up that requires user authentication before the user can access ...
5
votes
2answers
559 views

Testing Java or Silverlight plugins embedded in a page using Selenium?

We have a product that defaults to a Java plugin to upload files, and then Silverlight after that if Java's not installed. There is a third fallback of a HTML 4 + JavaScript uploader, but I'd like to ...
1
vote
1answer
727 views

Questions on Developing TestNG based automation for Java based web services

• In case of .NET 2.0 ASMX you can post HTTP requests for the web service using HttpWebRequest and HttpWebResponse • Is this approach possible for java based web service as well, referring to ...
5
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 ...
5
votes
2answers
1k 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 ...
18
votes
13answers
14k views

Under what circumstances is Sikuli better for test automation than Selenium or Watir?

The Sikuli website says: Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots). Under what circumstances is Sikuli a better technology ...
3
votes
1answer
91 views

Multiple Assembly QA Systems?

I'm having difficulty deciding whether or not using multiple assemblies for a QA system is the right approach to take. Here are some important details: The underlying system is a single assembly ...
4
votes
7answers
996 views

is it appropriate to do exception handling for every single test method?

I suppose there is exception handling available in all high level language. And I often find test method written as - public void testLogin() try{ testCtrl.type("loginText", "loginName"); ...
3
votes
1answer
352 views

Using FitNesse with .Net across multiple servers

My previous work involved writing embedded Linux code. We used a couple of the embedded devices in a test harness, a Linux PC and the Windows Perforce repository. The Linux PC ran an instance of ...