I have been developing a little Air application which is now starting to get quite cumbersome to test manually. I've searched through the internet for a testing framework, but it seems as if all existing solutions assume you're using Flex.
What I am looking for a free testing framework/toolset for creating automated functionality tests for Adobe Air "Ajax" applications. Is it even possible?
I'm in the same boat & would also like to find a solid way to test our (large) app properly (functional tests, we're already doing Unit Testing).
Okay, after some digging around (and haven't really tried it yet, so YMMV):
http://corlan.org/2008/08/15/functional-testing-framework-for-air-ajax-apps-based-on-selenium/
There isn't much in the way of a HowTo on the web page, but if you download the .zip there is a nice .pdf document there to help you on your way.
Curious to know how well this works for others...
Cheers,
-Chris
Related
I've been tasked with testing a Windows program that is essentially a collection of links to various exe files. My job is basically to click all the links to make sure they work (yay!). To makes things a bit easier on myself, I want to create a simple script that will do the clicking for me. I have a programming background (familiar with C/C++, Java), but have never scripted anything before.
Despite googling and searching around on stackoverflow, I wasn't able to find anything that explains what would be involved in creating something like this. I downloaded a program called AutoHotKey (http://www.autohotkey.com/) that seems promising, but before I dive into it I want to see what suggestions you all have.
Thanks!
Never tried autohotkey so I can't give you feedback. But I played around a bit with Sikuli which is agnostic of the UI technology used (working with image recognition). It works fine and you should be able to come up with a working prototype in a couple of hours.
HP Unified Functional Testing (http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/) provides similar functionality as Sikuli. As licensed software, it isn't free, but provides a lot more features and support than Sikuli (which is open source) does.
I am looking for an automation testing tool that checks the following features:
Windows application functional testing on local desktop
Web-based functional testing
No coding required, to be used by testers with no coding experience
Record and run would be easy for GUI, but for object based testing some features to write simple words without coding without syntax problems
Can someone please help me with this?
I would recomend QTP as it can be used without any need for coding. The testers will just record and play back the recorded tests.
I don't understand point four well. I hope that my answer sheds some light and point you into the right direction
TestComplete is the way to go for this. It's strong points is everything you're looking for it seems. There is a 30 day free trial too and a bunch of content to get you up to speed. No coding required. http://smartbear.com/products/qa-tools/automated-testing-tools/
My question maybe silly, but can anyone coach me?
Except doing some test(most likely white box testing) while coding, after the App was built, do we have some testing tools or special method for doing the test?
All I can imaging for now, is only manual testing the functionality of my App.
Thanks everyone.
Update: Added section 'Automated testing for iOS4'
As a professional tester my suggestion is that you should have a healthy mix of automated and manual testing. The Examples below are in .net but it should be easy to find a tool for whatever technique you are using.
AUTOMATED TESTING
Unit Testing
Use NUnit to test your classes, functions and interaction between them.
http://www.nunit.org/index.php
Automated Functional Testing
If it's possible you should automate a lot of the functional testing. Some frame works have functional testing built into them. Otherwise you have to use a tool for it. If you are developing web sites/applications you might want to look at Selenium.
http://www.peterkrantz.com/2005/selenium-for-aspnet/
Continuous Integration
Use CI to make sure all your automated tests run every time someone in your team makes a commit to the project.
http://martinfowler.com/articles/continuousIntegration.html
Automated testing for iOS4
Automate the testing of your application by scripting touch events using the new UIAutomation Instrument.
Some links:
http://answers.oreilly.com/topic/1646-how-to-use-uiautomation-to-create-iphone-ui-tests/
http://cocoawithlove.com/2008/11/automated-user-interface-testing-on.html
http://alexvollmer.com/posts/2010/07/03/working-with-uiautomation/
MANUAL TESTING
As much as I love automated testing it is, IMHO, not a substitute for manual testing. The main reason being that an automated can only do what it is told and only verify what it has been informed to view as pass/fail. A human can use it's intelligence to find faults and raise questions that appear while testing something else.
Exploratory Testing
ET is a very low cost and effective way to find defects in a project. It take advantage of the intelligence of a human being and a teaches the testers/developers more about the project than any other testing technique i know of. Doing an ET session aimed at every feature deployed in the test environment is not only an effective way to find problems fast, but also a good way to learn and fun!
http://www.satisfice.com/articles/et-article.pdf
Take a look at automated testing tools. Supports automated and manual testing/sending feedback from within the app with annotated screen shots
I suggest you take a look at the iPhoneUnitTests sample code posted by Apple on their developer site.
FoneMonkey is a free and open source functional testing automation tool available for download from Gorilla Logic.
There a number of emerging options for automated functional testing, including Appium, Calabash, Frank, and Zucchini.
Much of testing any application is about understanding what you are testing and areas that should be tested. Some of this comes with experience, but types of things to consider testing about would be:
Functionality
iOS Design Guidelines / UI
Gestures
Connectivity
Types of devices to test on
Audio
Data
Crash reporting
Analytics
There's a big list of areas to cover.
I recommend Kiwi, its used for Behavior Driven Development. By far my favorite testing framework, makes testing much more fun, and test much readable and clear.
https://github.com/allending/Kiwi
As every programmer knows tools are important and there is no tool more important for a developer than the IDE you use to code. In the last few years the IDE-s fall into standards and it is not common to see innovation in this area. What IDE-s you can recommend as innovative and what new ideas and paradigms they introduced?
This is by far the coolest set of coding tools yet!
http://vimeo.com/36579366
I haven't used this but saw the demo video yesterday. The IDE is called code bubbles and has a unique way of showing and grouping related code together.
That said I find the intellitrace feature in Visual Studio 2010 quite innovative.
Palm's Project Ares: http://ares.palm.com/Ares/about.html
It's the IDE for the Palm webOS phones, that runs entirely as a web app. You build and run your app inside the browser, and when you're done, you deploy straight to the cloud.
I'd put my bet on Meta Programming System by Jetbrains. The concept is not new but it's the first time it has been implemented on such a huge scale with great IDE support. You create a DSL first, then write programs in that DSL and finally generate code in a target language.
I'll go for Scratch, though I wouldn't want to write a banking system using it :-)
Some cool videos of structured editor prototype that will let you directly code the AST.
This is a prototype only and I have no idea if it is still being developed.
One interesting IDE I have seen only on video is Code Bubbles. It opens code snippets as a graph of visual "bubbles". It is really interesting and definitely something I want to try.
I am looking to make a Mac version of one of my iPhone apps and was looking for a good ay to hit the ground running. I know how to code in Objective-c and Cocoa, and I know how to piece something together from scratch if I have to, but I am looking for an easier way.
Are there any open-source templates for coding Mac desktop applications that I might be able to pick up and use to get started off without reinventing the wheel?
EDIT:
I guess what I am looking for is an easy way to get started on an app that has the "iTunes Look and Feel". If there are some bare-bones version of this layout as some sort of template project, that would be great. Also, why has somebody down-voted this question? Have I asked something that is not appropriate for SO?
Apple includes lots of project templates with Xcode (vanilla application, document-based application, Core Data document-based application, etc.). I don't really know how much more you would want in a template. They're generally pretty good for getting you started, I think. If you're looking for something more than these offer out of a "template," maybe you could elaborate.
If you're just looking for a starting point for the interface, then check out BW Toolkit:
http://brandonwalkin.com/bwtoolkit/
He has some nice videos on his site showing how to create a Mail-like interface very quickly.
Besides the project templates included with Xcode, you should browse the application exmples in /Developer/Examples. Most of these examples are "full" applications that demonstrate one or more Cocoa-related concepts. Many could serve as the starting point for a similarly orriented app of your own.