Hot answers tagged

14

The best place to start is over at http://www.thebraidytester.com/ where Michael Hunter describes the stack he built for testing Microsoft Expression in number of articles, papers and blog posts. I have used this approach as the inspiration for my own watin based stack which is available at http://testingstax.codeplex.com Essentially the framework breaks ...


12

For Test Automation purposes, it's always been my belief that once you know 2 scripting languages, you are in very good shape. Being comfortable with 2 languages means you know how to automate, and that you know how to learn a new scripting language. As a hiring manager, I will be able to assume that you could easily pick up another new language as needed. ...


10

Your automated tests are currently set up to answer the question "What isn't working as expected?" Now you want them to answer the question "What isn't working that I don't already know about?" Your solution is to change the automated tests so that they account for the "known" bugs in one of two ways: You could comment out the tests which find every ...


9

I suspect this is not a TestNG issue. I would start by trying to produce a minimal set of tests that, when run together, cause failures. After that, I would explore these possibilities: Inter-test interaction changes test-application interaction: It is possible that interaction between your tests changes how your test interactions with your application. ...


8

The programming language you pursue should be predicated on The technology space you are most interested in (web, platform, mobile, etc) The market trends in your area (e.g. what language skills are employers most looking for) On a side note, I don't know why some people get so focused on a particular "programming langauge." Instead, I recommend ...


8

You've got quite a few questions in your one question, but overall it sounds like what you want answered is: How can I learn to write automation so I can switch from a 100% manual testing role into a role that involves writing automation. I'll get to answering that one, but first... Honestly, if you are already manually testing in your current position, ...


7

Yes. The Page Object pattern is a good technique, and is the logical conclusion you are working towards already by extracting reused logic into methods. With this pattern, you create a model of every page in your UI. These page models are the only part of your program that know anything about your UI. Then, if the home page title changes, you just update ...


7

It isn't necessary to have strong - or any - coding skill to perform software testing or to be a highly skilled tester. No tool will ever replace the ability of a skilled manual tester to observe something that is not quite right in some way and trace the problem. When it comes to automation, things get interesting. There are numerous tools that claim to ...


7

From this and from your other question about using Excel as input for Selenium, I have a feeling that you need to improve your general programming skills. If you are competent programmer, selenium is just yet another library you have to use to make your program to do what you want it to do. Not trivial, but not rocket science either (for a competent ...


6

There's The Secret Ninja Cucumber Scrolls from Gojko - I started off with this http://cuke4ninja.com/ I'm currently reading The Cucumber Book from Matt Wynne http://pragprog.com/book/hwcuc/the-cucumber-book The RSpec book might also be useful and a bunch of resources here http://mikbe.tk/2011/03/05/learning-cucumber-rspec/ ( I have no experience with ...


6

It sounds as if you try to avoid duplication in your automated tests. That is a good practice to follow, not only in automation but in programming in general. For static strings, you might consider using property files instead of Java classes, especially if there are literally thousands of such values. Ask yourself whether you are testing at the right ...


6

IMHO, a team lead who is a developer with less knowledge in testing, is the wrong kind of person to be selecting a test tool. Do you have any QA Professionals on your team - perhaps someone with test tool experience? Or, lacking that do you have anyone on the team who will actually be tasked with using a test tool? I would suggest you turn to them. If ...


6

My first advice is to not write automated tests for pages that change frequently. You may be better off testing those pages manually. If you insist on automation, think about which aspects of the pages do not change, and write classes to model those aspects. For example, if forms always consist of text fields and a submit button, you can write a class to ...


5

Welcome to SQA, Jacob. First of all, it is understandable that a low-wage intern would want to find a higher-wage job. It is certainly possible to make a decent living as a manual tester. You said you are looking for a new job but are having trouble getting calls back. When I graduated from college, I had no idea what was important in a resume. If you ...


5

I believe Fiddler could be used to assist in the scenario you provided. Check it out at http://www.fiddler2.com/fiddler2/


5

SoapUI can be used to verify workflows, but so far, I've only been able to get it to work when they are ordered correctly. I've since discovered that it was much to write these tests programmatically (C#, Java). This allows for you to customize your workflow to how you need. For your third question, although typically you would want to run it as an ...


5

Another approach that might help with the portability is to run you SQL from an application test harness. If you use the SQL inline with this you have the ability to take the exe to any installation and just run it. To expand on using a testing framework there are several really good articles on Simple Talk about Unit testing sql code. They are good ...


5

There are tools that support this. SmartBear's TestComplete does - you can configure to continue after a failure or to stop after a failure - you'll find some details below about how the team at my previous employer handled dependent tests with TestComplete. I don't consider it a terrible idea - I've worked mostly with large, complex applications where it's ...


5

I think you want to pick the framework which has the most active development and the most documentation resources on the internet. Of-course you first need to check which framework fits your requirements, I would pilot all for a short while (starting with the most active one. If you have multiple candidates.) Which is more popular: Number of (recent) ...


5

How to get started with Selenium: A Brief Overview So you want to automate browser-driven tests, and you're not sure where to get started. You've heard of this "Selenium" thing, and you think it's what you want, but you can't be sure. Fret not! Here's a quick rundown of what you're looking at and how to get going. This is mostly adapted from two sources: ...


5

Although, this question is too broad to answer but in short I can say 'It depends upon number of factor which tool you want to use'. Project/Organization budget Scope of Automation Skillset available with team Complexity/functionalities of automation Reporting Test case management Tool support, etc. Don't just compare the tools theoretically, use them ...


5

Sikuli can extract text with OCR (optical character recognition) as described on this page: http://doc.sikuli.org/region.html#Region.text Extracting Text from a Region class Region text() Extract the text contained in the region using OCR. Returns: the text as a string. Multiple lines of text are separated by intervening ā€˜nā€™. Note: Since this ...


4

The setUp method is just a place to put code that needs to run before every test. It sounds to me as if you feel compelled to use it but do not believe it meets your needs. Judging from your description, driver.get(URL) belongs in the individual tests, not in the setUp method. Alternatively, you could structure your tests as two suites: one with a setUp ...


4

Phrase "sometimes works sometimes not" often means that Selenium tried to make an action when that action was unavailable at that time (the easiest method to check is to make long pauses before each action). In this case I recommend for you to make your own custom method WaitWhileProcessing which commands WebDriver to wait until full page is rendered. How ...


4

It should be noted there is a FOSS alternative to Eggplant: Sikuli. We have teams that use both in our organization. I would not claim Sikuli is as powerful or up to the level of Eggplant, but if your needs are relatively simple it is worth a look. Also it is simply a Java library, so it can be integrated with other tools quite easily. We use Jython ...


4

I have not used Fitnesse, but I have dealt with the same problem. I think there are two related but distinct issues: handling long-term bugs, and identifying new failures. Handling long-term bugs If a test fails because of a known bug (an expected failure), and you know the bug will not be fixed any time soon, you may want to take that into account when ...


4

Yes, many (most? almost all?) test automators learned on their own, although I suppose a quick web search would turn up some training companies in your part of the world. You've only been testing for 1 year, and are bored already? That's not a good sign, and perhaps this isn't the field for you. Testing/QA/Test automaton - all can indeed be boring at times. ...


4

Is the purpose of the test to verify 'page titles' or are you using page titles to validate state? If purpose is to verify page title match, then I would say automation is probably not optimum solution even if there are many 'page titles' to validate. If purpose is to verify state (e.g. to sync test), then you might consider doing a partial string match ...


4

Install Google chrome. Install Blazemeter extension in chrome. Download JMeter and set it up. Lots of tutorials available for that. Record scripts with blazemeter and download them. Run the scripts in JMeter. Tada...


4

In terms of UI automation, neither Javascript or jquery are used much at all. I don't know of any tools that allow you to write UI automation in Javascript, although I bet if you looked you could find some. Javascript and jquery are useful for unit testing or more advanced integration testing, but that doesn't sound like exactly what you were asking for. ...



Only top voted, non community-wiki answers of a minimum length are eligible