Posts

Showing posts from January, 2011

Plagiarism at its best!

Image
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 @ msgs2kanak@gmail.com 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 http://www.lulu.com/product/hardcover/quicktest-professional-92/5552565 Kandasamy:   hi Mr.Tarun... have u read that book..i will took result data tables and resultes from your b

All time good software testing books!

Image
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' Wil

SendKeys - Cheat Sheet

Image
A quick cheatsheet for all the characters that can be sent using the sendkeys method: e.g: 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}” Key Argument BACKSPACE {BACKSPACE}, {BS}, or {BKSP} BREAK {BREAK} CAPS LOCK {CAPSLOCK} DEL or DELETE {DELETE} or {DEL} DOWN ARROW {DOWN} END {END} ENTER {ENTER} or ~ ESC {ESC} HELP {HELP} HOME {HOME} INS or INSERT {INSERT} or {INS} LEFT ARROW {LEFT} NUM LOCK {NUMLOCK} PAGE DOWN {PGDN} PAGE UP {PGUP} PRINT SCRE

Test Suite Batch Converter (Selenium IDE) 1.5

Image
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 Highlights: 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

Image
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 win

Skillset - Sr QA Engineer for Agile

Image
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 risk s 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. Def

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

Image
  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. SOLUTION! Here is the solution I stopped on. I won’t

ClickOnText in QTP

Image
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 . Example: strFound =Window(“”).Dialog(“”).GetTextLocation (“OK” ,x1,y1,x2,y2) If strFound = True Then        Window(“”).Dialog(“”).Click (x1+x2)/2 ,(y1+y2)/2 Else        '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

Image
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: http://qtpadvanced.blogspot.com/2011/01/verify-install-of-flex-plug-in-for-qtp.html 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 recogn

Testing News - Jan 4th 2011

Image
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: News   Moolya 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: News Software Testing club for Germany - Talk, discuss and promote all testing things going on in Germany. Source: News   Revolution 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 spe

Simple way to estimate automation effort required

Image
Classify Test cases into: Simple Medium Complex Simple Test cases are which have:     < 5 actions  < 3 Components / Functions < 5 Verifications Medium 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 Used Application Technology Test Environment Test Scope Test Automation Skill-set Custom Objects not recognized by the tool