Tag Info

Hot answers tagged

9

If I was being interviewed and was asked this question, first of all i would start off by trying to quench my curiosity. How much time do i have? What type of a toaster is it? How much power limit does it operate on as per the vendor? Does the vendor provide any user manual or claims documentation? How does it work? Is it timer based or manual toaster? ...


5

I prefer to test in isolation, test should not be depended of each other in order to be able to run them on their own. This makes testing a smaller part of the application easier for developers. Also if each test has its own environment to run in you can run tests in parallel without tests conflicting each others runs. There will be some extra overhead in ...


5

If you have specifications that say a confirmation must be displayed, the test fails. If you have user requirements or user expectations that there will be a confirmation dialog, the test fails. In the situation you describe, I would create a bug from the test, but it would have a lower severity rating because it doesn't interfere with functionality. The ...


4

Great question. I see two issues, as follows. Using random data may lead to unrepeatable results. You can mitigate this by logging (or otherwise recording) every random choice you make, and then playing those choices back. That could be as easy as recording the initial seed to your random number generator, assuming your data does not change over time. ...


3

Answer is "when its not feasible/possible to perm a test" It is used for "multi-environment" test-cases and/or if it is some type of generic test-cases script My real example, it would been need to test feature of upload several files same time. But old versions of IE doesn't support possibility to select several files in dialog - so it is "No apply" here, ...


2

It could be called anything as long as the stakeholders of the project understand what it is and how to use it. You can call it combinatorial input matrix, all pairs matrix, exhaustive input matrix and so on!


2

It may depend on the strategy of your project, but i'd say this test is failed. If the confirmation is part of your specifications/functional need, you can't make this test pass. Imagine this is the only issue in your whole test plan, if you pass the test, then your indicators will be all green for this functionality. Thus, there is no reason to do rework, ...


2

You avoid this question completely by integrating testing into software development life-cycle. I assume you mean that the bulk of testing is done after development, rather than "how do we re-factor in the 11th hour of final testing"? General advice for re-factoring is to have good test coverage so changes can be made with confidence and have a high degree ...


2

We are currently in a similar situation, except not with Selenium, but with CodedUI. I think for the concept the technology does not really matter. We have defined a critical path with functional locations that are most critical to our application. This because we have nearly no automated test coverage and want to start with the most important parts first, ...


2

Does the presented style of cascading tests violate the "one assertion per test" principle? Yes, it does. While the style is quite clean, a disadvantage to your solution is that it becomes harder to run test_login and test_write_post with a different user, for example with one that is already registered. I personally find a better solution is to have ...


2

There are many such tools. Basically if you do a search with term "test management tool" you will find a lot of alternatives. There are also many sites listing the tools, but they seem to be biased towards some commercial alternatives. One site with a quite exhaustive listing for Test tools is https://www.testtoolreview.de/en/ The company I'm working in ...


2

No one here can definitively answer an ambiguous question like this. Go ask the person who wrote the test cases, or the test manager, or someone else on the team who has already figured out the answer.


2

To expand on bish's answer a bit: Your fixtures aren't supposed to be testing end-to-end functionality of all the subsystems - that's something for manual testing and/or automated functional testing and should be done as little as possible (because it's slow and prone to error - you do that as the top-level sanity testing). Each fixture is - or should be ...


2

You can go either way. You might include these steps in each test, because they're actions that an actual user will take. Meaning that they can potentially fail in specific circumstances, and thus you'll want them linked to that specific test case. However, signIn() and signOut() look like actions every tester will perform manually as well for every ...


2

However you obtain test data, you would like to know that it is appropriate to the intention of the tests. When the test data is defined outside of the tests themselves, there is always the chance that the data will drift away from the intentions of the tests. The chance increases if the data is maintained by someone other than the test automators. If you ...


1

Test Driven Development (TDD) means that you write your tests before you write your code. So if you identified your class should be extracted from others there must be an individual reason to do so. So you should at least write tests for this individual functions. Depending on if you already have tests for the common functions of your class you (don't) need ...


1

One suggestion can be Test Link, its freeware. You can easily install and configure at your end. This tool will help you to maintain a regression repository consisting of Test Case, Test Scripts, Test Run, Bugs etc..


1

You have several choices, although none are perfect. In the order I prefer to use them: Database/data manipulation - unless you have a ridiculously complex data structure (been there) or no access to the database in question (been there, too), this is the simplest, safest way to manipulate expiry/deadlines. Setup/configuration manipulation - configure your ...


1

I am going to coin this user246's First Law of Testing: everyone who tests software will eventually need to test something with a deadline. (I'm sure several hundred thousand other testers have coined the same law.) Although the specifics vary from one problem to the next, there are two essential solutions: either change the clock or change the deadline. ...


1

Does your element put inside in iFrame? If it's in iFrame, you should switch driver to that. OR Could you try with element = driver.findElement(By.cssSelector("div.clearfix.stk_btm_toptabs.text-center>a.stk_btm_chpFlight.active"));


1

In general, a test case is a pair of an input and an expected output (or as many books say, it mostly has just a single step: do sth and check it). A test case or a simply "a test" is an experiment we run in order to reveal some information about a product or service. one often has to follow certain actions/steps Only if you are taking the ...


1

[W]hat sort of direction should I head in for learning and practicing my SQL? W3Schools has good info on SQL. There are many flavors of SQL (MySQL and T-SQL are the big ones) but the basics are the same for the queries you'll likely use. What SQL concepts should I absolutely know before I head in? If you can SELECT and JOIN, you probably have ...


1

My main questions to you, kind sirs and mams, are, in an SQA interview, what sort of direction should I head in for learning and practicing my SQL? You could download MySQL to your local machine and play with it there. (You could probably search Google for quick install instructions.) That might get you familiar with the database application MySQL ...


1

+1 for it depends If the upload operation in your example can only be done through the mentioned failed menu than it is difficult to not fail it. OTOH maybe you are part of the "upload team" and all you want to do is verify this small operation and not end to end integration, so failing the test is out of the question Another approach (I use it with ...


1

Different testers have different ideas about test cases. Sometimes, a test itself is called a test case A test case is one particular instance or variation of a test or test idea A test procedure is a way of performing a test. A test activity is a line of investigation that fulfils some part of the test strategy. It can encompass many test cases. There ...


1

I hope your team understands that you cannot "assure" quality by testing - quality must be designed and coded in, and "A" in QA stands for "Assistance" - you can provide information what is current status of quality, if it improves or not, and suggestions how to improve your internal procedures to improve quality in the most effective way. Also, for a ...


1

First of all in agile environment there should not be any question related to responsibility of QA work. You all guys are more or less equally responsible for testing. Where developers should take care of writing unit tests along with Automated UI tests. For my organization we are using Node.Js based UI testing tool (Protractor) so the developers are quite ...


1

Try Googling for Java Hashmap test. I very quickly found this, and I am sure you can find many others.


1

Considering "classic" architecture where you have back-end, mobile operator which delivers SMSs with OTP and front-end (where user enters received OTP), you have several options to test this functionality. In order to simplify the testing procedure and make it more applicable for automated testing, I would exclude mobile operator part (as the one related to ...


1

An area missed in earlier answers is working with your development team. You need to ensure that not only the lead, but each member of the test team has a good relationship with the development tea, counterparts. The developers are your greatest allies. Get the devs to write some more robust unit tests. Explain and have them buy off on your test plans and ...



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