Tag Info

New answers tagged

2

My experience with automation is that it's invaluable for regression, particularly the kinds of regression that are tedious and painstaking to perform. A login script is usually a utility that happens as part of a larger script suite - which must, as Siva said, be object-oriented and data-driven if you don't want to create yourself a maintenance nightmare. ...


4

All the learning starts from step1. You have learned based on your own interest. I had a lot of support from this community and stackoverflow when i started writing automated tools. I can share my experience. 5 Rules for beginners getting into test automation Rule#1 - Do not worry about design, error handling when you start writing your automation suite. ...


1

Hopefully someone will come along with their experience but you might like to be aware that automation is not just a case of coding up your manual tests, the full benefit of automation is when it does more than that...


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, ...


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 ...


0

Have you had a look at Enterprise Tester? It integrates strongly with JIRA and would allow you to do exactly what you are looking to do. All of your main tests (as in the example above) could be stored in the test library and then run in separate execution sets (test 1 - text x), giving you different permutations of the single master test. I would ...


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 ...


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 ...


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 ...


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 ...


0

Have you read anything by Robert "Uncle Bob" Martin? If you want growth in automation, I would invest some of your time and start reading his books. His books are not tool specific however it covers the fundamental principles of software development which will aid you in your growth as a developer.


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 ...


0

Look at Sonar: http://www.sonarsource.org it is pretty good for any static test methods. Perfect for Java (plenty of metrics and plugins) okay for .NET (many metrics).


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

If price is an issue, you can use ncover 1.5, which is still open source on sourceforge. Another option is coverity test advisor.


-2

It is very Simple in C# Example : IWebElement chkBox = driver.FindElement(By.Id("some id ")); if (chkBox.Selected) { //perform actions } else { //perform actions }


0

There seem to be two problems in your question: how to you locate the cursors (clickable parts of the map), and how do you determine whether a tooltip appears when you click a cursor. You did not explicitly ask about the second problem, so I will assume you are mostly interested in the first part. If all of your cursors are area elements, you might try ...


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: ...


0

Java, Perl or Python are all free with excellent online resources. You need to sharpen your programming skills, the tool is less important.


-1

Dot net's build in Unit test and NUnit can resolve all of your needs...and for Java, Junit is the best . You may choose TestNG.



Top 50 recent answers are included