Wednesday

HP ALM Client logger / Log Manager

I am not sure how many of you know about this feature. This one without doubt helps when we have no clue what is wrong with QTP/QC


HP ALM Client logger /log manager




You can either get it from here https://hpln.hp.com/content/hp-alm-client-log-manager-alm-1100-and-later

Switch it on from here:
Navigate to C:\Program Files (x86)\HP\QuickTest Professional\bin\ClientLogs.exe or C:\Program Files (x86)\HP\Unified Functional Testing\bin\ClientLogs.exe

Once you have run the logger , find the logs at C:\Users\\AppData\Local\Temp\

Tuesday

Appium - Automate Mobile Apps



Here is an interesting prolouge about Appium:

The most significant change in software testing over the past decade has been the proliferation of automated testing. In the past, website testing was costly and time-consuming, involved large QA teams and numerous test passes. Enter Automation, which reduced test time by allowing developers to automate test cases and run them on demand. This frequent and immediate feedback enabled developers to write better code and freed up QA engineers to test with more freedom.


The arrival of mobile took us back to square one. Years later, the first mobile automation tools were released but had major drawbacks. They required app modification to support testing, often by em-bedding an HTTP server in the app. Most only supported coding in their APIs, which rarely supported multiple languages. They also often required hacks not supported by mobile OS manufacturers.

iOS testing presents a challenge that harkens back to the days when software was released on CD, where one mistake meant expensive reprinting of physical media. Similarly, a mistake in an iOS re-lease will take days to correct. If a crash occurs, once you identify and fix it, a multi-day app-store approval process is then required. Appium (http://appium.io) was developed at Zoosk in 2011 when we were looking to reduce the cost iOS app testing. Four principles guide Appium development:

1. Test the same app you put in the marketplace

2. Write tests in the language you want to

3. Use a standard automation specification

4. Keep it open-source and free

Appium is an implementation of the Selenium-WebDriver Protocol (the most popular web automation toolset) that supports Android and iOS apps on devices and simulators. Coding an Appium test is identical to coding a Selenium test. You don’t have to modify your app and can use a protocol that is a (pending) W3C standard. Selenium has bindings in a dozen or so languages, so you can even use the language of your choice. Under the hood, it uses sanctioned automation APIs, UIAutomation for iOS and UIAutomation and Instrumentation for Android. And of course, it’s open source.

The future is here! Mobile automation is now as easy as web automation. If you know Selenium, you

know Appium. Your QA teams can blister their fingers playing guitar instead of by running 3 straight days of iPad test passes. You can submit apps to the app-store faster and with more confidence..


Monday

Striving for an award in software testing



This was an interesting award I recently found out. When I read about this award , I wondered something that most of us would - wouldn't it be great if more of us aspired to be the person named in the winning category for any contribution to the software testing world.

While we are all not in a position to do that , especially given that this is an award specifically for the Australian testing community. We can always strive to be among the ones who can nominate ourselves for any such software testing award:

If you are in Australia, I would urge you to nominate yourself for the "The Australian Software Testing Awards"

The awards are presented in three categories:


1. Individual Contribution
Awarded to candidates who have demonstrated outstanding contribution to the software testing and assurance discipline, either within their organisation or more broadly to the Australian software testing community.

2. Best Project
Awarded for a project within an organisation which has demonstrated outstanding quality and testing outcomes. This project should indicate how quality and testing has contributed to the success of the project.

3. Best Process Improvement
Awarded to an organisation which has demonstrated improvement in quality and testing processes throughout the organisation or across a range of projects and programmes. The improvement can be across a range of areas, including organisational structures for testing and assurance, governance, team development capability, and technical delivery of testing activities such as test design, automation, performance testing and environment provision.


Judging Process
Australian Software Testing Awards are judged by a panel of industry experts. This application form is just part of the judging process. Judges may request any or all of the following in order to review nominations:

- A face-to-face or telephone interview
- Supporting documentation
- References or referee contact information

Source and links to participate:
http://www.menafn.com/852f3df0-6b4c-4ae5-b909-483e63dec119/Nominations-Open-for-The-Australian-Software-Testing-Awards?src=main

Wednesday

Amazing tools that make your testing smarter faster easier




Texter - Writing test cases or defects , Text substitution app Texter saves you countless keystrokes by replacing abbreviations with commonly used phrases you define

Jing / substituted with snipping tool now in Windows 7 - Capture Screenshots

Bubbl - Mind mapping tool , great for brainstorming / idea / sharing information

FreeMind - again a brain storming tool but has better features for a detailed ideaation

EtherPad / typewith.me  - is an online document collaboration tool which works in real time.  In other words, EtherPad has allowed multiple people to work on the same document at the same time over the Internet

Rapid Reporter - Session based testing  / Exploratory testing

PerlClip - generate text , text count and more

Log-Watch  - creates a log file as it goes, reporting strange events and possibly errors that might not appear through the UI

Color Cop - returns RGB values

Firebug - Xpaths and JavaScript errors!

WebWait - check the speed of your web application

Pingdom - Test your page load speeds The Full Page Test gives you a detailed visual report on the load time of each element (images, CSS, JavaScripts, RSS, Flash and frames/iframes). Objects included in javascript are ignored

METS - Minimal Essential Test Strategy (METS) - These are Excel spreadsheets but help in planning and estimating tests

Beyond Compare - Comparison tool

Test Data Generation(http://www.generatedata.com) - This is a really cool web script that you can use for free and even download the script for use on your own server.

Dia (Visio alternative, helpful for drawing process flow diagrams, etc for test planning) - http://live.gnome.org/Dia

Sikuli - Sikuli is a visual technology to automate and test graphical user interfaces (GUI) using images (screenshots) - http://sikuli.org/

IcuTest - GUI Unit Testing for WPF - http://www.nxs-7.com/icu

Paloma Print Perfect - STREAMDiff - Comparison of PDF docs - https://www.palomaprintproducts.com/STREAMdiff/printPerfect.asp

LucidChart which is another Visio alternative which is web-based. It has real-time collaboration so lots of people can work simultaneously.

Feel free to add more tools that make your testing Smarter!

Tuesday

QTP closing after every run from ALM / QC11



Problem: If you are using ALM or have just upgraded from QC10 , you will notice that QTP keeps killing itself after the run has finished. You will have to launch QTP to make any changes to the script!

Solution:
When QTP is launched from QC /ALM it first creates the "Remote Agent" (that can be the seen in the system tray)

  1. Right Click on the "Remote agent" icon and choose settings.
  2. In the "Remote Agent Settings" Dialog box , Select the "Keep Quick Test open after a Test Lab run session ends"
  3. Click OK
You are all set!!!


Friday

Mobile Test Automation - UiAutomator for Android



The uiautomator testing framework lets you test your user interface (UI) efficiently by creating automated functional UI testcases that can be run against your app on one or more devices

Note: If you want to learn or explore, the best thing would be to look at UiAutomator


A very nice article about tips and tricks on working with Android test automation as learned by the Guardian's software testing team:


http://www.theguardian.com/info/developer-blog/2013/jul/31/robust-testing-uiautomator-android