Hot answers tagged

10

I don't know whether a certification is necessary for automation testing, but you definitely require good coding skills and logic development skills for it. Its advantageous to learn Java as its open source and hence there are countless forums and communities to seek kelp. Plus many of the automation testing tools (specially open source testing tools) use ...


5

On our Group we have both a combination of applications that are UI driven and others that are just public facing API Interfaces. In both cases the development team is usually doing unit testing and a single a happy path integration test. The QA Team (of which I am part of) we generate automated test scripts that are repeatable and verify all of the business ...


4

In my opinion you should not mix positive and negative paths because every test has to be independent and give a clear result. Suppose that you create 100 scripts both positive and negative and all tests with negative paths fail, in theory you'll never know if they would fail even with positive ones until you fix your code. My suggestion is having a ...


4

Is it only GUI testing? No, it's up to you. Personally, I create automation tests for the test cases that are often executed, and the test that is simple (not complex). Do we also have to create Integration automation scripts? Yes, we do. It is part of testing and hence the testers' job. What would be our boundaries when a developer also does their own ...


4

Agile practises are all about automated testing, therefor on the long run I think manual testers should be worried for their jobs. Currently I am talking with recruiters and they ask me why are there not more people with your skill set, that of an automated tester. Since there is a lot of demand for this in the Netherlands at the moment. If you take a look ...


4

Like Michael said the Page object pattern makes the finder easier to use. I try to maintain a pattern of having a test only verifying one thing or possibly one screen. In your example I would assume in your first test, you would be testing everything about the post being visible. In your 2nd test, the create a post step is only a setup step so that you have ...


4

I use the page object pattern myself. It addresses two main things: Defines the finder in one place Names the finder with english-like words Good things. However this doesn't address the issue of how to combine series of steps that are then used in multiple places. To do this you can use use functions / procedures / methods in the language you are ...


4

Project Management Institute is one of the most well-known. More at https://www.pmi.org/certification/agile-management-acp.aspx Another leader is: https://www.scrumalliance.org/certifications which breaks out various roles including developer A personal note is that in my experience this certifications will make you entry-level and only a year or two in ...


3

Anything for which you can write a logic piece of code can be automated. I think usually the things that are very repetitive task that are very cumbersome to do day in and day out can be automated. Unit level checks can be automated so that the developers can perform their validation checks. Usually security & performance related tasks are automated. ...


3

That's to some degree up to your management team. Who does what testing differs from place to place, and what different phases of test are called can differ as well. However, it's very, very important that everyone understand what the expectations are for the different development phases. Otherwise, you're either going to be duplicating effort or missing ...


3

In my experience, as you correctly mentioned, if creation fails, deletion cannot be even tested, so in fact you have just one test with 2 separate test conditions. So far for every separate scenario I have only one test with multiple test conditions. Test starts with preparing system to certain status, which will be irrelevant for other tests. Then all ...


3

Very unlikely your job will go away. You can relax. There might be two different threats to QA test engineer job: (A) developers writing all tests, including E2E. (B) QA test are kept separate but are outsourced to country with cheaper workforce (even if core development is done in more expensive country with presumably more skilled workforce). (C) ...


3

Most test runners support categories or grouping. Annotate the test methods with something like @Category(A.class) now you can tell the test runner to run only tests in A.class category when run from Jenkins for a certain build parameter. For JUnit categories look here: http://junit.org/apidocs/org/junit/experimental/categories/Categories.html


3

In order to test something, you need to install it somewhere, i.e. in a runtime environment. In the process of running your test, you may change the runtime environment in ways that you need to clean up before you run your next test. There are two ways to clean up: you can undo the changes, or you can throw the environment away and create a new one from ...


2

Well, this depends on your application. At a former location there was a database that orders was injected into after initial processing, by injecting into the database directly I was able to make millions of orders in a matter of minutes. This will usually bypass many parts of the system (Payments, Inventory validation etc). If those pieces are not being ...


2

The trade-off is between script length and diagnostic value: Script length: one script with everything in it may be shorter (and should never be longer) than a positive script plus a negative script, because multiple scripts will duplicate setup steps. Because it has fewer steps, the everything script will probably be faster to execute than multiple ...


2

We have a bunch of selenium test cases and could observe a similar behavior. We dug into the issues and figured out two things: Make test cases "orthogonal" Test cases should not depend on each other. But that also means that every test case is responsible for creating the correct precondition for itself to run. Don't make any assumptions about the ...


2

Is there a load testing of a mobile app? Short answer: Yes there is. Long answer: Well you can test the performance of your app on the device. You can test, how much memmory it occupies? How much battery does it utilize? What happens if you have several other apps open and then open your app? Does it hang up the phone? How much time does it take to ...


2

As I understood the question, it is required to define the reusable methods and use those methods in different test cases based on the requirement. Here I am writing the code for two individual methods to work with,... public void inputKeys(WebElement we,String ip){ we.sendKeys(ip); } The above code just type the string value referred by ip variable. ...


2

The getText() method returns all the text within a HTML element. In this case all the text between the start <a> and the end </a>. This includes other tags and their contents. Try to split the string on white spaces and use the first word found. String value = getText(); String[] words = value.split("\\s+"); String result = words[0]; Now ...


2

Automation testing is never meant to be with 100% coverage. Even during development, it takes a lot of effort to keep automated scripts up to date. For this purpose is good to make agreement with development, that unique ID's will be added to each significant object. It is hard to give some advice to your project as we do not know anything about it. But if ...


1

Everything enclosed within the <a> </a> tags is considered as part of the link text. So if you use the getText() method of Selenium, you will get the whole text. If you want a part of the text, you should try to shed the unwanted text. Get the text and store it in a String variable. Trim the unwanted text from that string and you will have ...


1

The main principles to guide you here are: Each test should be independent. It should perform its own setup and teardown and after running leave the system in the same (initial) state. This will help avoid issues such as "But if I run one test script at a time, I get the result I want" The only exception to this is system-wide seed data needed for ...


1

Certifications don't teach testing. Still if you want to go for one, well, there are several available out there. But, they don't teach you how to test, they mostly teach only a certain terminologies. Yes, learning a programming language is an added advantage for a tester, especially for someone who is looking to make a career in automation testing or ...


1

The question and the description that you have written for it are misleading. I'm assuming you want to know which certifications will help you get a start for your career in Software Testing. Well for that I don't think you need to go for any certifications. Read good blogs and article on testing. There are thousands of them available on the internet. ...


1

You should have 2 test cases because they have difference steps and difference expected result. Run the test case one by one. If you want the test to fail, change the expected value to anything else. It sounds like you are not using testing framework. If you are using xUnit, it will help you to manage test fixture, assertions, ...


1

Python is widely considered as best language for beginner programmers. Java puts more focus on generating fast code (which adds requirements on programmer). Python is substantially more forgiving, and for website testing, speed is not the first requirement (flexibility is, where Python shines). Also, if you want to be programmer, you need to improve your ...


1

Actually java or other languages could be good option to drive Selenium tests, but it is not a must. You can command WebDriver from many different languages. Ruby, java, C#, VBA, VBS, javascript. Thanx to WebDriver you will have possibility to run your tests in multiple browsers (Chrome, Firefox, IE, Safari...). But all the languages are just a plus. If ...


1

I would recommend using Apache JMeter for this, it comes with Proxy server so you will be able to record your test scenario and replay it with increased number of virtual users You can also use Mobile Recorder service which is the simpler way of capturing mobile device traffic and converting it into a JMeter test.


1

Uses cases which must be automated for a website are - Use cases which require the user to manually insert a lot of data on forms. Edge cases or cases with critical functionality Testing on different software/hardware platforms Simulate large number of users Repetitive steps Calculations Data is conditionally displayed on page based on any ...



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