Hot answers tagged

12

To answer the question "are they worthwhile?", you need to explore: How expensive (in terms of time and money) are they to create, maintain, and execute? What value are these tests providing? Are they finding bugs? Providing confidence? Are there other, less expensive, ways to provide similar value? I once worked at a software company which built desktop ...


7

Yes. The Page Object pattern is a good technique, and is the logical conclusion you are working towards already by extracting reused logic into methods. With this pattern, you create a model of every page in your UI. These page models are the only part of your program that know anything about your UI. Then, if the home page title changes, you just update ...


6

It sounds as if you try to avoid duplication in your automated tests. That is a good practice to follow, not only in automation but in programming in general. For static strings, you might consider using property files instead of Java classes, especially if there are literally thousands of such values. Ask yourself whether you are testing at the right ...


6

Desktop software usually requires installation. Web applications usually do not. But web applications are sometimes expected to be running 24x7. This can make upgrades and maintenance more of a challenge to plan and execute (and thus test) In addition to browser versions mentioned by others here, you may need to worry about browser add-ons You may also need ...


5

I'd go to the I.M Testy blog http://www.testingmentor.com/imtesty/ ( BJ Rollison of MS ) and search for 'font' I'd also get a copy of How We Test Software At Microsoft and read it


5

I do not think the UI testing is very different: field validation, default values, resizing, scalability, and so on. You probably need to support more than one brand and version of web browser, and perhaps even some mobile devices. You may want to separate your business logic tests from your browser-level tests so that you do not repeat every test on ...


5

My experience is that UI automation tools differentiate themselves by the kinds of interfaces they interact with rather than whether they facilitate "basic" testing or complicated testing. I think you will have a hard time finding a single tool that covers both native applications (what you called "locally installed GUI front-ends") as well as web ...


5

In case of responsive web application that I'm working for. I use Galen Framework. Galen has their own syntax to define properties of web objects; width, height, position, alignment, text, color and many more. Its simplify and human-readable syntax works for my non-programming co-worker. and it's work well with Selenium GRID and I also use Jenkins to kick it ...


5

What is Guerrilla Testing : it is a way to get some quick user feedback on your product or prototype. I can say its usability testing. Guerrilla Testing Covers : it covers an activity by which you need to conduct it where your audience are novice users and observe these - Can they find the content? Is the language relevant to them? Have they understood ...


4

Apart from "what those other guys said", all of it very good advice, some other considerations I'd recommend are: Usability - Desktop applications tend to have a help file built in, where web applications should be more or less self-explanatory. Load times - this one is a big pain point. Not everyone has broadband (and we won't go into how much I despise ...


4

Combinatorial explosion of varieties: You may need to test each version of each browser on various hardware running various operating systems Front-end testing can be easier because of the universality of the displayed information When you do performance/load testing you're simultaneously testing the machine the server is on, not the current desktop (unless ...


4

Is it possible to wrap around Selenium 2.0 WebDriver Test Cases with anything other than NUnit for C# code? Yes. Extending the user246’s answer, Selenium is just a library that allows you to manipulate with web pages. Unit Test Framework wraps your tests and helps you to run the tests and produce the test execution report with number of ...


4

Is the purpose of the test to verify 'page titles' or are you using page titles to validate state? If purpose is to verify page title match, then I would say automation is probably not optimum solution even if there are many 'page titles' to validate. If purpose is to verify state (e.g. to sync test), then you might consider doing a partial string match ...


4

TestStack White: (partial open-source) White is an open-source framework for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests/automation programs using White can be written with whatever .NET ...


4

Sikilu: Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.


4

Selenium is an industry standard for web GUI. But desktop GUI automation is almost an untilled field. There are several disparate tools that are able to deal with few types of GUI. I know only one cross-platform open source project for GUI testing based on accessibility technologies (therefore text-based): it's LDTP. But in my mind the interface is really ...


3

GUI automation is very tricky to say the least. As a general rule of thumb GUI automation demands that the automated test 'know' the machine state at all times. This means that we shouldn't assume that a particular window has focus. If the automation requires a window to have focus it should check to make sure that window has focus and if not set focus to ...


3

According to the Quick start guide the principle method used in generating the test code is CheckView(). Which compares two png screenshots of a screen a before and after then throws an exception if there are any differences. In the background it does this with some unit testing code: static IcuTest ICU = IcuTestStarter.IcuFromDir(@"c:\test_data"); ...


3

Answering your question requires knowing why you were asked to write those tests. Unlike solving applied math problems, we usually do not write automated UI tests for the sheer pleasure or the intellectual challenge. I assume you were asked to write them, in that style, for a reason. If there is a reason to believe the UI is particularly buggy and that it ...


3

I'd probably do a Google search for "How would you test the font button in microsoft word", perhaps post the question to a few random forums, then follow whatever came back without even thinking twice about it. Oh wait, no I wouldn't... never mind.


3

I am looking for a specific tool which will help me document what I see when I perform web site usability evaluations. At the end of each evaluation, I need to create an report for my client. As your demand above, I would think a tool called qTrace could help you out. It's a complete screen capture tool that helps a tester easily submits clear and ...


3

The Microsoft stack is surprisingly still very popular, regardless of other cheaper alternatives. TFS is basically the central repository. Call it git and Jenkins rolled into one. It manages version control as well as builds. MTM is just Microsoft's test management tool. This is very useful for linking a manual test that has been created within MTM (its ...


3

In my last four years as test automation engineer I developed test automation solutions for web applications and mobile applications. For both application types we always decided to automate functional tests. My opinion is, that no automation tool is good enough to check the GUI well enough. There are so many things you have to check: Colors, position of ...


3

As of my reading- Guerrilla Testing means going into a coffee shop or another public place to ask people there about your product or prototype. It can be conducted anywhere ex- cafe, library, train station etc, essentially anywhere where there is significant footfall. Guerrilla testing works well to quickly validate how effective a design is on its intended ...


2

I would likely just use Word, using a template to contain my questions. When I purchased a house earlier this year, the Inspector used Word. The resulting book looked exactly like what you are proposing for your final report.


2

I agree with Aniket, this kind of exhaustive UI test is not worth it. Another thing to consider: Awhile back, I inherited a manual test case plan from someone who left the company. He had been doing things like checking the list sorting behavior in every area of the app. He wasn't a programmer and didn't understand that the code behind the dropdown box for ...


2

Good answers abound, just wanted to add one more thing to consider for automation - Localizability and how you identify elements is different. In a client app, you identify the element by it's name which is also the value displayed to a user. This means in order to work in localized versions you need to get the correct value from a resource file instead of ...


2

The most efficient tool for testing the appearance of a website is still the human eye and brain. That said, if you want or need to automate, image comparison is probably the least effective method because even with fuzzy logic it can generate far too many false positives. All it takes is a change in hardware (a different monitor or video card - this will ...


2

First of all I would recommend to read about the Testing Pyramid (if you do not know it yet); in a nutshell, do not create more than 10% GUI Tests. Furthermore, I recommend these two articles from Gojko Adzic:Ui Testing without shooting yourself and Effective User Interface Testing In our current project we (unfortunately) have a lot of GUI Tests. What ...


2

I accomplished a similar thing by running the SoapUI tests within the Maven Build http://www.soapui.org/test-automation/maven/maven-2-x.html one of the outputs is "junitReport : Turns on creation of JUnit-reports, (true/false)" which will then let you use any of of the million JUnit graphing tools. Hope that helps in finding your solution



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