18 votes
Accepted

What to look for in code reviews / pull requests?

Here are the top 37 things I check for in Code Reviews All Code Reviews DRY code Code has tests Linter is being used English readable code Lines are not too complex Typos for spelling and grammar ...
user avatar
14 votes
Accepted

Moving from Selenium to Protractor

Adding couple notes to Niels's great answer. Protractor wraps WebDriverJS which is Javascript Selenium bindings - in other words, Protractor does interact with a browser through the Selenium ...
user avatar
  • 11.4k
13 votes

Moving from Selenium to Protractor

Protractor is Selenium, but then integrated with tooling and helper methods. If you know programming and Selenium it should be relative easy to pick up. Protractor is an end-to-end test framework ...
user avatar
13 votes
Accepted

Test strategy to bring automated tests from UI to lower(API/Unit) layers?

A key strategy for me is to convince the business of what needs to be tested where, otherwise... they'll end up directing testing everything through the UI... So the two key main points I am making ...
user avatar
9 votes

What are the tools that we can use to automate, before completion of the development?

You could start with unit tests, while the application is being developed. In Java you can use JUnit for this. If you don't have a fully functioning system yet, you can use mocking to mock objects. In ...
user avatar
  • 356
8 votes

Moving from Selenium to Protractor

I followed the below transition process myself successfully: Learned basic JavaScript, including basic constructs like variables, loops, conditions, functions. Learned advanced JavaScript, ...
user avatar
8 votes

What to look for in code reviews / pull requests?

"Programs should be written for people to read, and only incidentally for machines to execute". -- "Structure and Interpretation of Computer Programs" by Abelson and Sussman UI ...
user avatar
7 votes

How much SQL knowledge do I need to learn Selenium Testing

For writing Selenium tests itself, none. Selenium does not use SQL. Now if the application under test uses SQL, maybe you need a bit of knowledge to setup test data for your tests. For basic SQL ...
user avatar
7 votes

Test strategy to bring automated tests from UI to lower(API/Unit) layers?

Estimate working load, how many test cases are there to be migrated from UI tests? Estimate how much time you can spare in each sprint and discuss with your team leader and your fellow members ...
user avatar
  • 9,720
5 votes
Accepted

how do perform menu list selection in web application using selenium?

You can use the Actions API for that, given that the browser you use supports it. The following should do the trick with Chrome: Moves the mouse over the "Admin" button Waits until the "User ...
user avatar
5 votes
Accepted

How to implement wait using UI Automation

There might be better ways (code-wise), but avoiding Thread.Sleep can be easily done by using SpinWait.SpinUntil which is in the System.Threading namespace. It will loop until either true, or the set ...
user avatar
  • 5,834
5 votes

Why should we test Web service when web test automation is done?

Web service testing independently is needed to ensure the API calls working as expected independent of the web page. In this way, we can confirm that the API calls are working as expected irrespective ...
user avatar
  • 714
5 votes

Why should we test Web service when web test automation is done?

There are many points where tester doesn't feel confident about the application. When a tester performs Automation testing there may be many challenges so web service testing is still very important ...
user avatar
5 votes

Is it a good/industry practice to create both UI and API testing projects in one project?

Both approaches have advantages and disadvantages: Separation into multiple projects means better separation of concerns. You can build your framework in a modular fashion like this. Where shared ...
user avatar
  • 589
5 votes
Accepted

Which approach should be applied when automating stories? What are the approaches or methodologies for it?

Normal approach should we automate only functional flow not caring about the UI things like font of text, font type of text, color of text, background color, images, different panels on page etc. ...
user avatar
  • 584
5 votes

Automating Developer Tools?

Selenium 4 alpha version introduces an Interface for Chrome DevTools API. I'm unable to find anything official (still in alpha) but here are some example uses: http://executeautomation.com/blog/...
user avatar
  • 4,079
4 votes
Accepted

What to ask programmers before automating with Selenium

Agreeing on good element and attribute identifiers is essential with web applications. Identifying elements is done by developers, designers and automation programmers. In a traditional waterfall ...
user avatar
4 votes

Make code to wait before executing click() command

Waiting for few seconds is fragile. Your Java code is running in some terminal. Make it to prompt for for text input and wait. Entered input will be the solution of the CAPTCHA, which your code then ...
user avatar
4 votes

How should I set up a test environment before automated tests are run?

Generally you should think of tests as doing Setup Execution Given X, When Y happens, Then expect Z Teardown This actually occurs at two (or more) levels: Entire test suite Certain files, ...
user avatar
4 votes

How we can verify whether webpage is refreshed or not?

One possible way is to force a change in a parallel session or in the database with a script. Then you can keep polling for some seconds until the new data becomes visible. I would expect the feature ...
user avatar
4 votes
Accepted

Selenium for angular - How to install and run Selenium for Angular E2E testing?

Let's first wrap our heads around the definitions: a lot of different languages have selenium bindings. And JavaScript is no exception - WebDriverJS are javascript selenium bindings - a selenium ...
user avatar
  • 11.4k
4 votes
Accepted

Why should we test Web service when web test automation is done?

Actually you should test web application after your WebService testing is done. Web Service is an architectural pattern that just allows you to invoke the functions remotely using a widely known ...
user avatar
  • 11.4k
4 votes

Test strategy to bring automated tests from UI to lower(API/Unit) layers?

If I would approach to the goal like yours I would: Introduce some proxy between your front-end and back-end that would log the requests to your Back-End Run all your tests for UI Parse the proxy ...
user avatar
  • 11.4k
4 votes
Accepted

How to provide more value from test automation to Dev/entire team?

Test automation is more than automating tests. I recommend you reading James Bach "Agile Test Automation" article: Test automation progresses when supported by dedicated programmers (toolsmiths)....
user avatar
  • 10.4k
3 votes

How should I set up a test environment before automated tests are run?

I prefer to use separate tools for deployment/configuration and running tests, because a tool that focuses on one thing will do better than a tool that tries to do everything. There are innumerable ...
user avatar
  • 23k
3 votes

How should I set up a test environment before automated tests are run?

There are several tools available over the web but my favourite one is Octopus Deploy, because after a relative simple configuration it can deploy your build, setting up automatically your testing ...
user avatar
3 votes

How can I successfully introduce automated user interface testing to my organization?

ui element tagging tends to be brittle. The tool you end up using will find elements in different ways. So you'll likely change up based on the tool you use. Hopefully the tool you pick makes it easy ...
user avatar
  • 4,030
3 votes

Sutable Tool For Quality Assurences

A reply equally broad as the question, but that does answer it: Go to https://www.testtoolreview.de Filter tools based on your specific situation Compare the available options on specifications that ...
user avatar
  • 5,834
3 votes

How to automate tests where the initial conditions vary?

Regardless of the method you use to generate your request date, you're going to need to do this somewhat dynamically. The simplest method is in the code to test each scenario, you do a call to get ...
user avatar
  • 30.8k
3 votes
Accepted

AngularJS - automate testing of user interaction with front end

Jasmine+Karma combination is typically used for unit testing of a JavaScript application. But, you are describing tests that involve user interactions which suggests an end-to-end testing tool. And, ...
user avatar
  • 11.4k

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