Tag Info

Hot answers tagged

12

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 ...


11

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. ...


9

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. ...


7

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 ...


7

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

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 ...


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

I am working under the assumption that you would be familiar with the language the tools are being written in. If the team you are on already is writing unit tests a good place to start might be with them. Talk to the developers that are writing the unit tests and get an idea for how the underlying code is working. In the process of doing this start ...


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

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 ...


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

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 ...


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

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 ...


4

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. Finally, you might ask yourself whether you are ...


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

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


4

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 ...


4

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 ...


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. ...


4

I recommend you try TestCafe. It is a web testing framework, using which you can run tests on remote computers and mobile devices, in multiple browsers and on multiple machines simultaneously. It also eliminates out of process browser plug-ins and provides wrapper-free access to DOM via jQuery or a browser's API. The built-in traffic analysis tool ...


4

There is several issues here. Load testing a random website is essentially, and can be looked upon as (both legally and ethically speaking) a DOS attack. This can cause you a lot of problems. Also, IIRC Google has built in capabilities to limit such activities from a single IP. I STRONGLY suggest against doing this without prior permission from the owner ...


4

You mean to say in one class multiple methods you want to run, then use below code and try. @BeforeTest public static void beforeMethod() { driver= new FirefoxDriver(); } @Test public void main1() { driver.get("http://indianrail.gov.in/pnr_Enq.html"); driver.findElement(By.id("element")).sendKeys("1234567890"); String ...


3

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 ...


3

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 ...


3

Approvaltests.com calls them unit tests, so I'm not going to argue :) Although I'm not sure why you are looking for a hard definition. It's taking the value from unit tests, adding readable output and screenshoting them. Kinda a neat process that could be used for UAT and forces dev's to use TDD. Tools that I would consider similar are Cucumber, jBehave, ...


3

Use an established free open source framework like tSQLt? See tSQLt.org for more details. Tests are implemented as stored procedures and the framework is included as part of the database.


3

Visual Studio 2010 has some built in tools for unit testing SQL server. This article is a good read: http://blogs.msdn.com/b/atverma/archive/2010/07/28/how-to-unit-test-sql-server-2008-database-using-visual-studio-2010.aspx I know that Red-Gate also has some good tools for testing SQL server, especially around comparing tables or results of queries from ...


3

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. ...



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