Wednesday, March 5, 2014

Mobile UI Design

This morning, I searched on the name for this month's Appy Hour host. Blink Interactive has what looks like a useful Design Library for mobile apps. I samples a few examples of design critique and it looks like it may be helpful when I write my own apps.

I am a software developer and not a designer, so I need to find ways to ensure I have a decent design while writing my first apps for iOS.


Monday, October 7, 2013

Thursday, October 3, 2013

Learning UIAutomation

I am in the midst of writing automation for an iOS project. One of the tools I may select is bundled with Apple's Instrumentation software, UIAutomation. As I search and read the web for information about iOS automation and general mobile test topics, I find it difficult to organize the information in a coherent way. This blog post and other will be my attempt to being some order to my research.

Working with UIAutomation
http://alexvollmer.com/posts/2010/07/03/working-with-uiautomation/

An oft searched for quote from Alex Vollmer's posting on Working with UIAutomation is "First, log the element tree (via UIATarget.logElementTree()) liberally and often."

As I get used to writing Javascript again, I find myself missing the IntelliJ IDE I used when writing Java based selenium web automation. It had been very helpful to use its Intellisense type tools...

UIAElement Class Reference
http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Reference/UIAElementClassReference/UIAElement/UIAElement.html

iOS Automated Tests with UIAutomation
http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation

Its dated April 8, 2012. I have not read through it much, but doesn't hurt to have another general reference handy.

http://www.juddsolutions.com/downloads/UnitAndFunctionalTestingForiOSPlatform.pdf

Online JavaScript Interpreter
I am pretty sure, but could be wrong, that there is no console based javascript interpreter outside of a browser. I want to exercise javascript as a functional language rater than anything ties to a browser. One tool I ran across is an interactive interpreter that runs in a browser. Maybe this is something useful.

Of particular interest to me is that I can save the page as a static page to run when disconnected from the internet or when and if the page moves or is removed from the web.

http://math.chapman.edu/~jipsen/js/

UI Automation JavaScript Reference
http://developer.apple.com/library/ios/documentation/DeveloperTools/Reference/UIAutomationRef/UIAutomationRef.pdf

gumbypp's iPhone device testing page
http://iphone.gumbypp.com/provisioning.html

A fantastic mind map for iOS testing. I would love to modify this for my own project as a good top level "test plan"
http://www.ministryoftesting.com/2012/09/ios-testing-mindmap-checklist/
http://farm9.staticflickr.com/8033/7916949920_37dc872d36_o.png

More
http://www.ministryoftesting.com/resources/mobile-testing/

Really Good Article...

http://vokalinteractive.com/2011/12/02/automated-testing-in-ios/

A forward-thinking scripter could use predicates to ensure the script works even as your interface is reorganized in the future.


http://stackoverflow.com/questions/7308058/best-resources-for-uiautomation-testing-for-ios-applications

http://agilewarrior.wordpress.com/2012/07/26/getting-started-with-frank/

Test Studio from Telerik
http://www.telerik.com/automated-testing-tools/support/documentation/mobile-testing/overview.aspx

Pivotal Labs

http://pivotallabs.com/iphone-ui-automation-tests-a-decent-start/
http://pivotallabs.com/iphone-ui-automation-tests-with-jasmine/

http://juddsolutions.blogspot.com/2010/06/your-phone-is-so-much-more-than-phone.html

http://www.testingexcellence.com/does-automating-your-manual-tests-give-you-good-automated-tests/
http://blog.smartbear.com/automated-testing/divide-your-automated-testing-efforts/

UI Automation test runner - Bwoken
http://bendyworks.github.io/bwoken/

iOS UI Automation
http://randomzone.in/2013/04/11/introduction-to-ios-ui-automation/
UI Automation + tuneup.js
  •     It is the Apple’s inbuilt Automation testing framework.
  •     It is highly stable and also reliable testing framework.
  •     It uses javascript to automate the testcases.
  •     Automation can also be performed in the specified devices
  •     It can also be accessible from command line so that we can also integrate this with Hudson
  •     Considering its salient features,simplicity UIAutomation is preferred for automating the test cases over other testing frameworks
Bwoken – iOS UIAutomation testing in CoffeeScript
http://thechangelog.com/bwoken-ios-uiautomation-testing-in-coffeescript/

iOS automation testing: the new baseline skill for ensuring quality

http://aalittle.com/iOS-automation



VIDEO
Introduction to UIAutomation Testing on iOS (Video/Slides)
https://www.cocoacontrols.com/posts/2012/11/13/introduction-to-uiautomation-testing-on-ios-video-slides



Tuesday, March 26, 2013

Must be a Typo - 25 Years Experience Required

I just got mail describing an SDET position in the Seattle area. Here is a snippet :

Must have At least 35 years experience in testing or development of databasedriven web applications or other enterprise software Solid Java or Groovy programming and testing experience...

I'm pretty sure web applications are a bit newer than 35 years :-)

Monday, March 25, 2013

IntelliJ Tip - Imports Code Styles

One of the coding standards I follow is that all imports must be fully qualified. Out of the box, IntelliJ 12 has is configured so that if I import more than 3 classes from a package then those imports are collapse into one import ending in '*'.

To fix this do :

In IDE, click the wrench icon on top toolbar.
Then pick Code Style / Java and then 'Imports' tab

Set "Class count to use import with '*': to '999'.

Sunday, June 26, 2011

I've added a QR Code to the Blog

I read on Hacker News about someone's project, lilqr, for adding QR code to a website. It seems to work pretty good. I easily added the QR code by using blogger's "HTML/Javascript" widget. You just add the following tag, <img src="http://lilqr.com/qr">. I have my blog configured to render itself as a mobile site when viewed on a mobile device. Its a pretty handy way to switch to a mobile device while reading the blog on a desktop/laptop computer. I know that there are other tools for doing this, but I figured I'd give someone's new solution a try.

QR codes can also come in handy for publishing offline announcements or advertising. Perhaps I'll take advantage of this and tell people about my blog using flyers around town.

On Twitter, @TroyJMorris and @knakao have been going back and forth lately about the topic of QR codes. I do not see an easy way to link to the back and forth tweets. Maybe thats a what uniquely named hash tags are for. Dont'w know if QR codes are so geeky that they'll likely take off into the main stream, but its a decent try especially with the way smart phones and other portable devices are becoming ubiquitous.

Both android and iPhone have good apps for scanning QR codes and taking an appropriate action. Got the iPhone, I have started using an app named, Scan.



Thursday, January 6, 2011

To Solve iPhone error, "Could not activate cellular data network At&t"

Go to http://www.unlockit.co.nz from your iPhone.


Easy as pie. For AT&T in the U.S., the carrier choice is far down in the list displayed as "US - AT&T". You need to select the "Create Profile" menu item in order to modify your phone's APN so it points to the proper carrier.