Bits N Tricks

A platform to contribute to the best of our knowledge so someone else can be benefited.

WinRunner 16Aug, 2010


It is a functional regression testing tool developed by mercury interactive corporation. Invoke Application 1.)It is an initial concept to establish a logical link between application & testing tool. 2.)Identifies whether the application invokes easily or not. CALCULATOR -> Windows simple Application to invoke or invoke_application Invoking Calculator Steps:-> 1.) Open Winrunner. 2.) Select blank text. 3.) Press F2=>(start recording) 4.) Press F7=> invoke application “path”. 5.) Function Generator(pre-defined functions),We can also select functions out of given. 6.) Establish link between application & tool. 7.) Select invoke_application. 8.) Click args(arguments). 9.) Click browse(….). 10.) Click C:/Windows/System32/calc. 11.) Click open. 12.) Click paste. 13.) Click close(Closes Function Generator). 14.) Click Stop. 15.) Click Run from TOP. 16.) Click Ok

Posted in: Testing
Automation Testing 11Aug, 2010

Automation Testing

Automation Testing:- It is a modern technique followed based on software engineering ISO, IEEE standards. Why Automation Testing:- Automated software testing is the best way to increase the effectiveness, efficiency and coverage of your software testing. How Automation Testing Works: Automation Software Testing Tool is able to playback pre-recorded and predefined actions, compare the results to the expected behavior and report the success or failure of these manual tests to a test engineer. Once automated tests are created they can easily be repeated and they can be extended to perform tasks impossible with manual testing. Because of this, savvy managers have found that automated software testing is an essential component of successful development projects. AUTOMATION SOFTWARE TESTING TOOLS SUITE ->…

Posted in: Testing
Subversion – Rules, Crash Course and Work Cycle 09Jun, 2010

Subversion – Rules, Crash Course and Work Cycle

RULES Rule #1: Check in only completed functioning code that you believe works. Bugs may be found later, but don’t check in anything that you know is incomplete or broken. Rule #2: Check in as often as possible without breaking rule #1. Rule #3: Always perform an update before a check-in. Rule #4: Reference the svn red book often. Rule #5: Do not mess around with the .svn directories in the check-out unless you’re an expert with subversion. CRASH COURSE: Subversion (svn) is a source code repository like microsoft sourcesafe, cvs, or borland starteam. The main repository we use is called simply ‘main’. Beneath main, everything is organized into projects. There is a project for the main website itself,…

Posted in: SVN
How to install, configure and use SVN (Subversion) 09Jun, 2010

How to install, configure and use SVN (Subversion)

To access your online repository ( from your Windows based operating system, you should install one of the SVN client applications. Here, we will be discussing about TortoiseSVN. To install TortoiseSVN client application on your system, you can find it at or rather at There you will find two types of installers – one for 32-bit operating systems and another one for 64-bit operating systems. To check how many bit operating system you have – click here. Once you have downloaded the right version of TortoiseSVN. Get it installed with the default selections with the installer on your system. If successfully installed, it will ask you to restart your system. Thus, get your system restarted and in the…

Posted in: SVN, TortoiseSVN
Installing Subversion (SVN) using Dreamhost 09Jun, 2010

Installing Subversion (SVN) using Dreamhost

Login to your dreamhost account. On the left navigation bar, click on Goodies and then “Subversion” Under “Create a new Subversion Project:” – input all the necessary values and click on the button called “Create my new project repository now!” Dreamhost Subversion Once after clicking on that button and if everything has been inputted correctly, your request for the SVN for your new project will be submitted and you will be provided with a message something similar to the below one: Once your project’s subversion has been created online and once you will open up the subversion in your browser for the first time, it will look somewhat like this:

Posted in: Dreamhost, SVN
PHP script – how to find the working days from a specified date? 21May, 2010

PHP script – how to find the working days from a specified date?

<?php /* This is a function to find out working days from a specified date and format of date must be dd-mm-yyyy First parameter to function is the date from which working days are to be calculated (working day exclude Sun and Sat) Second parameter to function is the number of working days to be calculated */ function workingDays( $fromDate, $interval ) { $date_array = explode(‘-‘, $fromDate ); $day = $date_array[0]; $month = $date_array[1]; $year = $date_array[2]; $working_date = array(); for ( $i = 1; $i <= $interval; $i++ ) { $day_text = date(“D”, mktime( 0, 0, 0,$month,$day + (int)$i,$year)); if( $day_text == ‘Sat’ || $day_text == ‘Sun’ ) { $interval++; continue; } $working_date[] = date(“F j, Y”, if (1==1)…

Posted in: PHP