Hot answers tagged automated-testing
4
What you're observing is common whenever the job of a method is to change some internal state (like the set of things stored in an internal collection).
There are two options:
Recognize that the desired results are observable only through subsequent calls to other methods.
Add a way to observe the internal state directly.
This generally requires making ...
3
While you can use tools like QTP or even UIAutomation directly (the replacement for MSAA in OS's since Windows 7) it isn't really ideal for Silverlight automation. To really have the control you need to write good Silverlight automation you need access to the Silverlight properties in the xap. Here's a list of some tools that work for Silverlight testing:
...
2
Alex is correct. In addition, you probably will want multiple tests per function covering both positive and negative cases. What happens if you try to get or delete a file that doesn't exist? What happens if the data source doesn't exist? How about if you don't have permissions? What if you want to put and have it add a new file vs modifying an existing ...
2
I can tell you what I do in this situation. I have not used the LoadableComponent, however what I have done has followed a similar pattern. I create classes for each of the "loadable components" that are basically page objects. I have something like the IsLoaded function to ensure that the component is loaded, and depending on how it works I either don't ...
1
I can't speak to JIRA or Zephyr, but my experience with TestLink is that you can define environments and easily copy tests - or nest test suites indefinitely deep.
I'd suggest you rethink some of your layering: for instance, with the example you've given, look at a test suite for environment with the following structure:
Feature X Test Suite
Windows Test ...
1
What I usually do in such cases is I have a test for Put and a test for List. The test for Put might (and probably will) use the List method, but it focuses on the boundaries of the Put method. I will make sure that the code coverage for the Put method is complete within the TestPut.
Likewise, the TestList method would focus on the boundaries of List, ...
1
You're right that TestPut tests both Put and List, but that on its own doesn't mean List doesn't need its own unit test. For one thing, supposing TestPut were to fail, having a TestList would help you know whether the bug is in Put or List.
1
The answer depends on type of tools you would like to use. If you are familiar with agile software development and want your developers to implement and maintain test automation on UI level that you can consider to use developers focused tools
Android:
robotium(built on top of Instrumentation)
ui automator(from Google)
Calabash
iOS:
UI ...
1
Have you heard of Sikuli?
It automates based on images. So you could use it for windows and web applications. It's pretty cool but a little odd, but may suit your needs. It is everyone's favorite price, free. I never got very far in using it because I work mainly in the web space.
1
Can't help with .net as I mainly have experience at a java shop. We use a combo of sonar and Jacoco.
Check out Jacoco!
I just installed it on the machines where we execute our service tests and the reports it generates are nice and can be integrated into CI easily (using ant). It's actively worked on, and has a Maven plug-in. The coolest feature for me ...
1
Visual Studio 2012 has a pretty good code coverage tool. I have used it to measure code coverage of a web service.
It is easy to integrate into build systems, you have out of the box support for TeamBuild (the TFS build) - see a more detailed article here.
According to msdn it has result merging.
Code coverage is also integrated in Microsoft Test ...
1
Talk to development!
An understanding of your architecture is needed properly answer the question. How does your application communicate with the databases? If you have a service orientated architecture odds are you can test there.
The most common service testing tool out there is soapUI, which generally deals with soap or rest. I use it extensively and ...
1
Though the question is not so specific on what part of that web mail is to be automated, the best solution for whatever your question is Selenium IDE.
If your tests involved repeated logins, and sending mails to many then you can instal this addon to firefox and start recording your tests like login to gmail and compose and send mails.
You can find related ...
Only top voted, non community-wiki answers of a minimum length are eligible
