Showing posts with label Automation. Show all posts
Showing posts with label Automation. Show all posts

Wednesday, October 3, 2012

Benefits of Automation Testing

There is no comparison between manual testing and automation testing.

Each one has their own benefit. There is some circumstance where manual fails to do , then automation come in picture.

Automation testing tool test Website , Apps significantly faster than human user.

There are web site, products, apps which comes in version, so using automation testing tool we can reuse the same test again and again on different version. Which reduce your time and work too:)

Some of Automation testing tool like QTP, Selenium reliable;because Test perform the same operation each time tool run;so therefore eliminate human error.

Performing same test on particular application you can test how the application react to doing repeated execution of same operation.

Even you can program test, which can bring out hidden information.

So reduce your burden of same work using automation tool. Or else start writing test program using automation tool..

Thursday, August 16, 2012

How to create Batch File?


What is batch file? (bat file)
Batch file is a text file that contains one and more command, it has also called as batch program and script.

Extension of batch file
Extension of the batch file is .bat or .cmd.

What batch files do?
Batch files automate everyday task or repetitive task.

How can be batch file useful?
Using Batch file you can do routine task or repetitive task in shorten time.

How the batches file useful in testing?
There has so many task which we do regular basis like build deployment, or else some other task like for which you do manually That can be automated using the batch file.


How to create batch file?
Let me tell you batch file contains series of DOS command, instead of typing same command again and again you can just create a batch file and double click on it.
1.Open the notepad
2.Save the file ---    2.a Click on file >>Save
                               2.b Click on Save as type:  and select drop down menu All file
                               2.c Type the file name with .bat extension and save the file somewhere on  your 
                                     Desktop.
                               2.d Eg: Test.bat and then click on save button
3.Let’s we see a simple example of batch file: Batch file for opening facebook site using mozila firefox browser
 @echo off
start /d "C:\Program Files(x86)\Mozilla Firefox" firefox.exe www.faceboo.com
@echo off    
                                                                          
4.Type those command in Test.bat file, and save it.

5.Double click on Test.bat file for run


Command Explanation:  
Echo off:  BAT writers typically put this at the beginning of their files. It means that the program won’t show the command that you told it to run while it’s running.

Start:  It’s open program ,script,command in new window.In above example by using start command we opening the Facebook site using mozila Firefox browser.

There are several Commands available using those you can create batch file and you can automated your regular and repetitive task.