Wednesday

Testing Mind map - Chronicles Of Testing



A very interesting mind-map from the team of:

Chronicles Of Testing






Click on the image below for better viewing.



Wish I knew few of these pointers on the day one of my testing career - If you ever felt this way. Remind yourself it is never too late to learn to think and to test well.
Here is a mind map with aspects to know about software testing, for any aspiring tester on where to begin and the how and where to from here.

Each of these points can be extended to include further details. If you have gone through the mind map and require to know the below information, get in touch with me or any one from the testing world.

Questions like the below are welcome.

  • Books to read and authors to be referred.
  • Blogs to read.
  • Twitter - who to follow.

Happy Testing. 

------------------------------------------------------------------------------------------



Friday

MongoDB and QTP




Problem: Tried connecting QTP with MongoDB [No SQL database]?

  1. You can connect to MongoDB using .net/java languages since there are drivers for it.
  2. In QTP (VBScript) you can then call those drivers. 
  3. You can create a java jar which exposes methods like connect, execute, disconnect etc on MongoDB and call them from vbscript.

Solution:  


1. Get a Code snippet in Java where it connects with Mongo DB,Insert/Select/Update..etc

2. Run the below code which will then give the result in a file.

Systemutil.Run "cmd.exe"
Window("object class:=ConsoleWindowClass").Maximize
window("object class:=ConsoleWindowClass").Type "cd\Test Result"
window("object class:=ConsoleWindowClass").Type micReturn
window("object class:=ConsoleWindowClass").Type "java -classpath C:\Users\Ady\Desktop\QTPMongo\bin;C:\Users\Ady\Desktop\QTPMongo\lib\mongo-2.10.1.jar com.jpmc.cfp.mongo.MongoSearchMain> output.xls"

We can customize the output based on our need and improve the script based on the use case

Thursday

Testing badges we used on our QA Day

Here are some badges that we used in one of our QA day , recognizing each person by his niche skill:










Monday

Tips.txt on your machine?


Did you know that there was a tips.txt file on your machine where QTP is installed?
Navigate to the QTP installation folder
Further navigate to the “dat” folder
Look for a file with the name “Tips.txt”

Open this file in a text editor and enjoy tips provided by the developers themselves

 Happy Testing!

Friday

Open ppt in two windows / extended windows



So here is a strange post. I was creating a deck for one of the upcoming conferences and I work on a dual monitor. Since I had done a similar talk before, I wanted to quickly refer the same.

The Problem: Cannot open two instances of ppt , for comparison / editing.

Why?: Natively PowerPoint is a single instance application (you can only have
one running instance at any time).


Workaround? : If you want to edit both the presentations on two different monitors:
 you wouldneed to:
  1. Open both the presentations
  2. Restore the main power-point window
  3. Now stretch the main window across two monitors 
  4. From the ribbon /menu go to View | "Window" | Select  "Arrange All" to arrange your open presentations side-by-side.
 That is some testing with power-point :)