Tag Info

Hot answers tagged

15

I work as a Manual tester on a big project. My project follows Agile methodology. I test a Web-based application. I sometimes ask my self , that am i giving any value to the stakeholders? So, the value that you are giving to stakeholders is the reduction in the amount of defects that go to production. The cost of fixing a defect drastically increases ...


11

For hacking WebDriver without real production purpose, you need to find some task that really motivates you. Don’t forget, WebDriver – is not only about test automation, people use the tool (not so widely) for many different purposes: crawling some data from websites, semi-automating real job-related tasks. For instance, a girlfriend of friend of mine ...


8

Extending and maintaining automated tests costs time, but if your team are slaves to updating tests you are doing it wrong. :) One of the biggest reasons to create automated test coverage is to create a fast feedback cycle loop. Letting the test-team fix the tests afterwards slows down this process and will always lag behind. There is a high risk the tests ...


6

Selenium is a tool that remote-controls a browser. You can use it to simulate a user interacting with a web site. JUnit is a framework for writing Java unit tests. It takes some of the grunt work out of organizing tests and generating reports. You can express each test as a method on a class; typically, you have multiple tests per class. JUnit will run ...


6

A lot of this will depend on if you are getting a good return of investment from your third part testers and testing scripts. If the end result if a good regression suite with the ability to vary inputs and conditions at a reasonable price then there is less urgency to take the automation fully in house. Even if the third part testing scripts provide a good ...


6

You're going to get a lot of "it depends" answers for this. Whether it's better to stay with primarily third-party automation will change depending on the quality of your third party automation providers, the nature of your business applications, your internal infrastructure, the method your third party people use and a whole lot more. Some of the factors ...


6

This is one of those questions which has multiple valid answers, as well as being a common problem for test automation engineers. The approach you take should be influenced by your knowledge of your user base: Do you know which configuration settings your users use? Are there known configuration settings used by your largest customers? Are there common ...


6

As for tutorials on SoapUI, sadly the majority of them are sub-par at best and out of date. If you want to learn SoapUI the best option is likely to jump in feet first and hit the ground running. My background is primarily API testing, with a specialty with SoapUI and Groovy, so I will try and give some hints and pointers to get you started. SoapUI's core ...


5

You should never run automated tests against a website for which you don't have permission. The site owner could consider it a denial of service attack or an attempt at hacking. In theory, they could sue you or ask your ISP to drop you. If you do this using a company computer, you could put your company in jeopardy. Don't. Here are three sites designed for ...


5

There's a few extra factors here that can impact the way you handle this problem: Do you get results for each test as it completes or do you have to wait until all tests complete? Do you have multiple machines on which to run the tests (and is it possible to do this) or are you tied to a single system running your tests in sequence? Can you break your ...


5

That partially depends on what you want to automate. From the front page of SeleniumHQ (my highlighting): If you want to create quick bug reproduction scripts create scripts to aid in automation-aided exploratory testing Then you want to use Selenium IDE; a Firefox add-on that will do simple record-and-playback of interactions with ...


5

What do you think? Should you eat one meal at a time and 2 to 3 meals a day? Or should you eat sufficient meals for 30 days at once and enjoy the remaining 29 days? Keep things as simple as possible! Combining everything and testing it all at once may make things too complicated to handle...


5

It depends. If you're automating against an API, you can start as soon as the API calls are stable (the call names and required fields are decided). If you're required to do GUI automation, there's generally no point starting until the GUI is stable - for agile projects that usually means that GUI automation will run a sprint behind application ...


5

There's no one true way to do this, but there are some common things you can do to get an overview of the system you're working with. My approach is to start with a series of questions (not in any particular order) Who - who is the application intended for? Knowing who the users are tells you a lot about how they're likely to want to use the software and ...


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

The approach I've seen most often is to have the unit tests as a separate project in the application solution, so they can be run against production code as part of the build process, but are not included in the production code. Some of the reasons for the separation are: Logical separation. You want your unit tests to catch issues with initialization, ...


5

I have used Selenium and TestNG in the past to manage a lot of my automation and as Siva mentioned you do have the basics down. While TestNG is one of the most common Frameworks out there, it is not the only one, and you can use whatever one works for you. So long as you can import the Selenium drivers you can use any framework in which you are familiar, ...


5

Unit and system test automation is different, but at least a few of the unit test anti-patterns apply, such as concentration on happy-path scenarios. Thanks for including that link! In the automation I have implemented, I was forced to implement GUI automation due to the structure of the legacy Java client-server systems I was testing. However, these are ...


4

Not everyone on the team needs the same skills, and if you already have enough development capacity you might be more valuable for the overall results if you take up other tasks. When working together with testers in an automation project, developers can focus on the development part if there is someone else who: Really understands the application and the ...


4

Why either/or? Work as a team with testers providing test ideas and expertise that the devs can code up. I would also shy away from an emphasis on GUI automation and get the devs working at a unit/system level unless they are doing this already


4

Here's how I would approach this kind of situation: Unit tests - Evangelize the living daylights out of unit testing. Any kind of business logic automation should be handled by unit tests, as should any other automated tests whose goal is to check the functionality of a single unit of code. This is developer-level code, but tester guidance is essential if ...


4

This problem hits everyone with a decent-sized application sooner or later. Some of the things you can do to help manage your test cases more cleanly: Use a self-documenting system - if you're coding Selenium with C#, use the MS XML commenting and something like Sandcastle to publish the documentation that's generated on build to a common site. That way ...


4

Try this line of code: Driver.findElement(By.xpath("enter your xpath")).click(); Hope it works out!


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

You can use the following code also to handle popup. String mainwindow = driver.getWindowHandle(); for (String popup : driver.getWindowHandles()){ driver.switchTo().window(popup); } // Your code on poppup window driver.switchTo().window(mainwindow); //Switching to main/parent window Hope this will help :)


4

Not testing in Isolation Anti-Pattern In order to run a test in isolation you often have to bootstrap one or multiple systems, configure these systems, setup test data, archive test artefacts and destroy the setup after the test run. Easier is to just run the end-to-end tests against a some central system test database and shared server resources, with ...


4

First, take a look at the answers to these questions: Does automating your manual tests give you good automated tests? What are good guidelines to determine when to automate a test? Transition from all manual testing to automated testing All of them provide some insight into the general question of what type of test cases should be automated - but you ...


4

Honestly, it depends. If you're with a C# shop, it makes more sense to work with C# so you can collaborate with the developers and share code. Similarly, if you're working with a Java shop, go with Java. A few other considerations: The main tool for C# development is Visual Studio. While there is a free version, the licensing for it is quite limited. ...


4

You can use the findElements method to find all TD tags that match your criteria, and then getText method to retrieve each element's value. The latter will be returned as a String, so you may need to convert it to a number before comparing it. Since the sorted elements have a special class, you may want to use a CSS selector with findElements.


4

Webdriver is not only more modern. It is future W3C standard. Being able to click on hidden links seems like a misfeature. I would use old version only if newer version was seriously lacking important features without which I cannot live.



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