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
...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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/...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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)....
4
votes
Accepted
Test users password- static or dynamic
I would recommend taking a step back from the technical implementation of generating password values and consider what are the specific risks you're trying to mitigate with these end-to-end tests.
Is ...
4
votes
Choosing Testing tools against multiple programming languages
I would approach it from these perspectives:
1. What kind of testing are you doing ?
Is it at the unit, integrated or end-to-end level? Is it white, black or grey box?. If it is at the unit or ...
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 ...
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 ...
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, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
uiautomation × 129automated-testing × 68
selenium-webdriver × 44
browser-automation × 20
test-automation-framework × 16
java × 13
coded-ui-tests × 12
appium × 11
desktop-application × 8
api-testing × 7
mobile-automation × 7
c# × 6
xpath × 6
protractor × 6
selenium2 × 5
python × 5
test-design × 5
javascript × 5
testng × 3
android × 3
selenium-ide × 3
robotframework × 3
regression-testing × 3
angular × 3
web × 3