5
votes
What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?
Yes, this is typically done in a commercial context, but it does not need to be exactly as described.
As you already noticed, developers should write unit tests. Those tests as you probably know only ...
4
votes
Accepted
Report non-unique ids?
The id global attribute defines an identifier (ID) which must be
unique in the whole document. Its purpose is to identify the element
when linking (using a fragment identifier), scripting, or ...
4
votes
What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?
why companies would have both API tests and web tests when this causes duplication of effort.
In short, because those tests are different in nature, help discover different types of bugs and have ...
3
votes
Accepted
How to unit test the plethora of js frameworks?
I have worked with a couple of JavaScript front-end frameworks (Angular, Ember and React) an all of them have their own tools to write (whitebox) tests. The (included) test frameworks let you render ...
3
votes
Accepted
Which development skill/path will add more benefit/value to QA
It depends, both paths back-end and front-end have their testing challenges.
I would start with front-end, because understanding the basics of a web-application is very useful when when creating end-...
2
votes
Accepted
How do I automate front-end testing for a web app with Javascript?
Front end testing is important and is often part of User Acceptance testing.
Popular approaches uses Selenium along with a programming language - Java, Ruby, Python or C#
Update (2023)
There are now ...
2
votes
Report non-unique ids?
This would mostly be up to the team or requirements for this website.
Some use unique id,'s, some don't, some don't even use id's for all webelements.
Since this does indeed make automation harder, ...
2
votes
Why isn't my 'if' statement working in my Cypress test
Here:
if(cy.get('a.auth0-lock-alternative-link').contains('Not your account?'))
{
cy.get('a.auth0-lock-alternative-link').contains('Not your account?').click();
}
to evaluate expression in if ...
1
vote
How would you answer this interview whiteboard question about testing multipart forms?
My answer would probably be a question:
What are the risks involved in the application? The minimum number of tests would greatly depend on these risks. I think most risks are not covered by minimal ...
1
vote
How would you answer this interview whiteboard question about testing multipart forms?
You can use state transition logic ,
here each form has two actions , one is save and another is goto next
And this form is available across two interface (web and Mobile)
So there can be the list 12 ...
1
vote
How would you answer this interview whiteboard question about testing multipart forms?
"What is the minimal number of tests to cover the functionality" is not an answerable question. You said "a user must complete all 3 steps" and then you said "user can X",...
1
vote
Liquid Template Linter
Liquid includes this functionality by default,
Liquid also comes with a stricter parser that can be used when editing templates to give better error messages when templates are invalid.
Source: ...
1
vote
Accepted
Liquid Template Linter
You have one OS linter called Liquid-linter but it is not actively developed anymore.
A node package that lets you lint liquid template strings.
1
vote
Best practice to TDD a unit of work in frontend JavaScript
Since you cannot leverage the testing tools of modern framework, such as React or Ember, I would suggest the following:
Focus on application level checks:
Using Selenium, most widespread. Example ...
1
vote
What reasons would companies have to use web testing (Selenium) and API testing (SoapUI) for the same functionality?
I advise our teams to write mainly unit-tests, but at least ONE test on service (e.g. API) and UI (e.g. end-to-end) levels of the test-pyramid. Just a happy path test is sufficient.
Why do I advice ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
front-end × 9automated-testing × 3
javascript × 3
back-end × 3
web-application × 2
selenium-webdriver × 1
manual-testing × 1
test-automation-framework × 1
unit-tests × 1
interview × 1
bug-report × 1
continuous-integration × 1
learning × 1
soapui × 1
angular × 1
cypress × 1
career-development × 1
tdd × 1
mocha × 1
form × 1