Showing posts from January, 2011

Plagiarism at its best!

This is a snapshot of what I recently came across and was shocked how people could just copy others work and claim that it is theirs  (The famous QTP Unplugged - By Tarun Lalwani was copied by Mr Kandasamy without even changing the name of the book!)

Mr. Kanakarajan Kandasamy is currently on the employee of Novita Soft Solutions, Bangalore. He have around 3 years experience in manual & automation testing areas such as .net, java, web application, etc..., he obtained his bachelors degree in Information Technology from: Anna University, Chennai. His areas of interest are Multimedia and CRM. He can be reached @

Tarun:  Please welcome Mr Kandasamy in successfully copy pasting some original work from my book and claiming it as his own. Recently the below content was reported to me

Kandasamy:  hi Mr.Tarun...
have u read that book..i will took result data tables and resultes from your book remaing …

All time good software testing books!

Here is a list of all time favorite software testing books in no particular order:

General Testing Books
Marnie Hutcheson, 'Software Testing Fundamentals' Wiley, April 2003
Erik van Veenendaal, 'The Testing Practitioner' UTN Publishers, Sept 2002
Paul Gerrard and Neil Thompson, 'Risk-based e-business Testing' Artech House, 2002
Louise Tamres, 'Introducing Software Testing' Pearson Education, 2002
Cem Kaner, James Bach and Bret Pettichord, 'Lessons Learned in Software Testing' Wiley, 2002
Martin Pol, Ruud Teunissen and Erik Van Veenendaal, 'Software Testing: a guide to the TMap Approch' Addison Wesley, 2002
Rick D. Craig and Stefan P. Jaskiel, 'Systematic Software Testing' Artech House, 2002
Ron Patton, 'Software Testing' Sams Publishing, 2001
John Watkins, Testing IT: an off-the-shelf testing process' Cambridge University Press, 2001
William E. Perry, 'Effective Methods for Software Testing' Wiley, 2…

SendKeys - Cheat Sheet

A quick cheatsheet for all the characters that can be sent using the sendkeys method:
set WshShell = CreateObject("WScript.Shell")  'Control+Shift+End WshShell.SendKeys "^+{END}"

'Control+O WshShell.SendKeys "^o"

Some common egs:
1. a and b are pressed, send the string argument : “(ab)”
2. To Send same letter multiple times : “{a 10}”
3. To Send ALT Tab :  wshell.sendkeys ” %{TAB}”
4. To Send ALT and space : wshell.sendkeys “%{ }”
5. TO Send char : wshell.Sendkeys “(a)”
6. Right Click of Mouse : Wshell.SendKeys “+{F10}”
7. Mouse Down : wshell.sendkeys “{DOWN}”
8. Mouse UP : wshell.sendkeys “{UP}”


Test Suite Batch Converter (Selenium IDE) 1.5

For all the selenium lovers here is an amazing add-on that can convert one or more test suites (and included test cases) from the html format to any another format that is supported by the Selenium-IDE

The resulting test suites and test cases will have the appropriate file extensions for the selected language for supported formats. The names will also be sanitized to make them legal identifiers for most languages.To know more and download follow this link Test Suite Batch Converter

Shortcuts - MMC and Internet Explorer Navigation

Some really nice shortcuts that might help in automation.
Adding more to the previous post on Shortcuts that help in automation!

Microsoft Management Console (MMC) Main Window Keyboard Shortcuts

CTRL+O (Open a saved console)
CTRL+N (Open a new console)
CTRL+S (Save the open console)
CTRL+M (Add or remove a console item)
CTRL+W (Open a new window)
F5 key (Update the content of all console windows)
ALT+SPACEBAR (Display the MMC window menu)
ALT+F4 (Close the console)
ALT+A (Display the Action menu)
ALT+V (Display the View menu)
ALT+F (Display the File menu)
ALT+O (Display the Favorites menu)
MMC Console Window Keyboard Shortcuts
CTRL+P (Print the current page or active pane)
ALT+Minus sign (-) (Display the window menu for the active console window)
SHIFT+F10 (Display the Action shortcut menu for the selected item)
F1 key (Open the Help topic, if any, for the selected item)
F5 key (Update the content of all console windows)
CTRL+F10 (Maximize the active console window)
CTRL+F5 (Restore t…

Skillset - Sr QA Engineer for Agile

Here is what a company is looking for in a Senior QA engineer for an Agile Project:

Key Responsibilities
Responsible for management and coordination of all testing activities on assigned projects including definition of testing approach, test effort estimation, progress and status reporting, training and education on D&B QA processes and tools. Educates technology teams on their responsibilities/accountabilities for the purpose of achieving on-time and quality deliverables. Through definition of the project test strategy, the Senior QA Engineer will identify the customer and business risks associated with project development and identify how the test approach will mitigate the identified risks. The Senior QA Engineer will also define a test approach in support of various software development methodologies including Agile. Accountability for management and tracking of project level testing risks ensuring timely communication of impacts to Project Managers. Defines report…

Selenium wait for AJAX (the right way!!!) - Agile Software Testing

Ajax! Ajax! Ajax!!!!
You cannot go to a website without running into some form of Ajax. It’s great and all, but if you are trying to test a website with Selenium, this becomes an issue. Selenium will wait for the page to load, but is rather clueless when it comes to Ajax.
After spending several painful hours looking for a way to make a “wait_for_ajax” function, I found several solutions that do not work.
1 – Put sleep in your test.
Well obviously this is the simplest solution, but also the worst. We don’t know how long a request will take to load, what if the server is slow?
2- Use “waitForElement” command built into selenium
This is a better solution; we wait for a certain element, which is part of the Ajax response to appear before moving on. The problem with this solution is that we need to always know which element needs to load. This becomes a headache for us normal people with extra large web applications to support.
Here is the solution I stopped on. I won’t take credit f…

ClickOnText in QTP

There are times when QTP forces us to use alternative methods to try and access objects which are not recognized as standard objects, and do not fall under any Class in QTP.

One such method is the "GetTextLocation" used in conjunction with the "Click" method.


strFound =Window(“”).Dialog(“”).GetTextLocation (“OK” ,x1,y1,x2,y2)
If strFound = True Then
       Window(“”).Dialog(“”).Click (x1+x2)/2 ,(y1+y2)/2
       'Report a Failure
End If

How about replacing the above code with just one line of code that does everything internally to get the x1,y1,x2,y2 co-ordinates and gives us options to choose left/right, single/double click.
Here you go:

Window(“”).Dialog(“”).Clickontext “OK”,x1,y1,x2,y2,true,micRightbtn,false

Syntax for ClickOnText :
ClickOnText(TextToFind, Left, Top, Right, Bottom, MatchWholeWordOnly,ButtonToClick,DoubleClick)

Flex Objects not recognized by QTP - QTP Advanced

This is a commonly seen issue that QTP is not recognizing a particular flex object even though you have installed the Adobe Flex Plug-in and the library files are deployed with the flex build. There could be many ways to resolve this. The object could be recognized as a win object, macromedia flash object or a basic flex object like the one shown below.

I have a checklist that may help in resolving this:

1. Have you installed the flex plug in correctly? My blog below should help you verify that:

2. Have you selected the required add ins for your application? Typically for a flex based web application requires flex, web and activex plug ins selected in the QTP's Add-in manager. Remember that QTP add-in manager loads at run time only and if you are not seeing this at start-up then it could be disabled within QTP Tools-> Options -> General.

3. If the object is only partially recognized by QTP a…

Testing News - Jan 4th 2011

IN Media Begins Software Testing Phase with Learning Partner Mount Knowledge   - It's a new e-learning software system, on it's popular Windows 7 Tablet PC with IN Media's new e-learning partner Mount Knowledge Holdings, Inc. Both companies are exploring the co-marketing opportunities in Asia with the integration of educational software on this new Tablet PC e-learning platform.Source: NewsMoolya Software Testing Private Limited Offering Brainual Software Testing Services Launched in India - Tired of seeing the industry get confused over Manual versus Automation for testing, this Bangalore based startup decided to use “Brainual” approach. Source: NewsSoftware Testing club for Germany - Talk, discuss and promote all testing things going on in Germany. Source: NewsRevolution IT Announces Its Acquisition of Adelaide-based Independent Test Services Pty Ltd   - Revolution IT, Australia’s leading application quality management company, has acquired Adelaide based specialist soft…

Simple way to estimate automation effort required

Classify Test cases into:
SimpleMediumComplexSimple Test cases are which have:     < 5 actions < 3 Components / Functions < 5 VerificationsMedium Test cases are which have:   < 7 actions < 5 Components / Functions < 10 Verifications< 15 steps
Complex Test cases are which have:   > 7 actions > 5 Components / Functions > 15 Verifications> 20 steps
 Factors that affects test automation estimation in general:
Framework UsedApplication TechnologyTest EnvironmentTest ScopeTest Automation Skill-set
Custom Objects not recognized by the tool