Tag Info

Hot answers tagged

11

Palindromes testing is very representative in terms of QA way of thinking. Moreover, writing tests dramatically increase the quality of task specification. When a QA engineer writes test cases, it well may happen that certain case is not covered in initial specs. This is a good reason for QA to come up with idea to improve those specs. So, when you are ...


9

There are at least two (conflicting) ways to think about this: Whether you provide a default depends on the context. If you provide a default, you should be prepared for people to select it even when it's the wrong selection. This is particularly true for user interfaces that require lots of inputs. For example, my company's application has an online ...


7

It's really no different than any other test case. Set up conditions: Check actual result against the expected result So you'll need a list of all the error messages in the system and the conditions that make these errors appear If you want to really test them out then use the FAILURE mnemonic as detailed here.


5

Many of the preceding answers are directed at testing the behavior of the captcha from a customers POV (enter valid, invalid, etc.). But, if you are testing an actual captcha generator that your dev's wrote then you should go deeper. Also, there is some important information about the captcha generator you're testing that would be important for functional ...


4

It is hard to say what your workflow will be. I've worked a few SDET/QA jobs, and it really seems to vary quite a bit. I'll try to cover some of my experiences, though, and hopefully that will be helpful. Everyday Things I usually like to start my day with a little bit of blackbox, just to get my brain into motion. I'll spend a little while every morning ...


4

I'm currently using Quality Center for test case management, and it has a similar structure. I've found that in the expected result section for each step is a good place to write down some items that you would look for outside of the basic 'action completes without error'. You could mention a few points of other questions to ask while the application is ...


4

To answer the main question, your test is a functional test which uses an expected invalid input condition. Some of my classifications of functional test types are: Functional test - any test of the application's functionality. This can include valid input, invalid input, navigation through the application, and pretty much anything else that involves the ...


4

The following site offers many sample forms and will allow you to practice your test cases easily. http://www.wufoo.com/examples/


3

Depends on the quality requirements of the project and the maturity of its user stories. If the test has to be done once by the same person who has written the test cases, then documenting the test case steps would not be essential or indespensable. On the other hand, a project requiring different phases of regression testing over a long period of time with ...


3

There are two questions here: (1) test case itself; (2) ability to automate testing. As per the first topic, you just describe it in a form of Actor - Action - Result, e.g.: System redirects to a page XX User types CAPTCHA code into a field [...] System checks answer validity If the key is not valid, System redirects to Step N System redirects to ...


3

The purpose of a CAPTCHA is to verify a human is submitting the form. By definition, if you could automate this interaction, the functionality would fail. But you didn't ask about automation, so that's just an aside. Think about it from a functional perspective - does it let you submit when you enter the right input? Does it keep you out if you don't enter ...


3

See definition of palindrom and think about boundary cases. For instance: What happens to white spaces, and punctuation marks when comparing input with its reversed form? Are they ignored or maybe even not acceptable? Is implementation case insensitive? Usually, both Anna and anna are considered palindroms. This is the task of a tester to explore ...


3

I think Agile testers should assist their Product Owner with writing Acceptance Criteria in the user stories. If you write scenario's in Gherkin you can create manual test cases that match your four criteria of a test. Scenario: Some action (1. Name) Give I am logged in (2. Pre-condition) And I setup something else When I do some action (3. ...


3

It depends on what the text field is supposed to accept and what it's for. If it's meant to accept specific formats of data, your tests will be different than if it's meant to accept free-form data. For example, text fields are often used for postal code entry. For that, there's likely to be validation that the postal code format matches the official ...


3

A functionality requires validation of system behavior in two (or more) different states. For instance. Let's say in your SUT a user is authorized to use a certain feature only if the user has permission X. To make sure this really depends only on having this permission, you should verify at least two cases, that is your test case have have multiple steps ...


3

To add a dissenting voice - they are there for historical reasons as that's how people thought tests should be written and it also provided a way for tests to be 'measured'. I view such detailed test cases as a waste of time and effort ( the answer from Paul that it's a great practice can be argued against) so I don't see what value you can 'leverage' from ...


2

Usually social networks / web mail services have a nice many-different-fields reg forms, e.g.: http://mail.yandex.ru/ http://e.mail.ru/cgi-bin/signup?from=main BTW, SO profile page: http://stackoverflow.com/users/1953175/peter-l is a nicest thing to train your cases creation skills, since there are many "hidden" parts, tabs and features which may be quite ...


2

Svetlana, since most publicly-available registration forms for large websites fit your criteria, I'd imagine you could use any of them. You might also consider some Shopping-Carts. Many file upload/download forms (such as those for photos, etc) meet your criteria. Good luck.


2

In actuality, the usability issues only come into play in a very specific case. In most cases, providing a default for a radio button list is actually a straightforward logic issue. Here are all of the parameters I can think of (in order of precedence): Is the user required to provide a choice? If no, then a default selection should never be ...


2

ved, welcome to SQA. You should distinguish between testing the login functionality and merely using the login functionality. End-to-end tests are about ensuring that all the pieces fit together when someone uses the software for a specific task/workflow. If an end-to-end test requires logging in, by all means use the login functionality. However, if you ...


2

Welcome to SQA, TIKSN. Since your question distinguishes between unit tests and test cases, I assume you are asking about test cases written in English (or Armenian, or whatever) rather than automated tests. You will hear a variety of opinions about this. Some people recommend writing the test cases before writing any code because the test cases help ...


2

Typically, you can do testing at any point in the development cycle; therefore you can write test cases at any point. If you have requirements to build from, you have the building blocks for test cases in the future. If you have code, you can write test cases while the code is being built. If you already have the code, you can write tests too. Do you have ...


2

Can you please give me basic functional and invalid input cases for the above scenario? Functional testing for your scenario would cover cases including but not limited to: Test whether the UI of the screen containing a checkbox and a button are displayed properly (as in color matches the requirement document, the positioning of those form controls ...


2

Do you have some requirements at first about text field? There are some basic checks: Check possibility to input minimum number of symbols Check possibility to input maximum number of symbols Can you input uppercase and lowercase together? Can you input special symbols? Can you copy and paste inside text field? Check different unicode symbols Check cyrillc ...


2

I've found in the past that using a BDD framework like SpecFlow helped me with this. You can start off writing the tests, and slowly start writing the code for it each of the tests as your able to. SpecFlow is great for code re-use, although, it can take some getting used to. An example of this is every time you use "And log in to the application", the ...


2

What are the functional requirements on the search machine? Same results as Bing? Certain adds? What are the qualitative requirements? Response time? Layout? As soon as you know what was to be developed, you know what to test with what test goals. Afterwards, you can think about how to test it.


2

There is multiple different reasons for this. I will try and explain a few. If the tester is unfamiliar with the system it ensures they are performing the steps correctly By giving the tester expected results at each step it allows the tester to easily be moved from one application to another. This makes cross training a lot easier. It also helps with ...


2

To elaborate on Phil's answer, the metric for test cases are always based on "pass/fail". One of my biggest complaints against Quality Center many years ago was that multiple requirements would be associated with a single overall script. That script may fail one line, but the failure is applied to all associated requirements blindly. Segmenting results to ...


1

Time and again as a contractor, I've seen large monolithic test structures with code all over the place. Often it's because testers have copied and pasted tests, which then break and need to be fixed in dozens of places, instead of just one. As such, yes, there's certainly benefit to re-using core functionality, as long as it's not the part you're ...


1

There appears to be a VS Powertool TFS Tester Power Tool-Auto Create Test Cases from PBI Acceptance Criteria in beta that will allow for this to be done. http://visualstudiogallery.msdn.microsoft.com/5826c7c8-852e-4239-96bf-e2ba4ab9dab6



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