What is batch processing?

Source: Internet
Author: User

Batch Processing (batch) is also called a batch processing script. As the name suggests, batch processing is to batch process an object. The extension of the batch file is bat. Currently, two common types of batch processing are available: DOS batch processing and PS batch processing. PS batch processing is based on powerful image editing software Photoshop, which is used to process images in batches. DOS batch processing is based on the doscommand, scripts used to automatically execute the doscommand in batches to implement specific operations.

 

In the recent script execution, I suddenly thought of batch processing and found that if these functions are implemented, only batch processing is selected.

In the automated test, how to control the coordinated execution of scripts and batch processing can be well controlled for me? First, let's look at simple batch processing programs, which will make you think this is not a program. As follows:

Auto. bat

 

Start C:/auto. vbs

 

 

Main. bat

 

C:/Ruby/bin/Ruby login_tc002.rb

 

C:/Ruby/bin/Ruby login_tc001.rb

 

Exit

 

Through the above two scripts, we can find that the code for batch processing to complete an operation is so simple, so this is the so-called "batch processing" reflects the efficiency.

 

Batch Processing is to batch complete many operations, and these operations are composed of many programs, in order to make these programs automatically and orderly, you can arrange and control data in batches.

Of course, the batch processing script is not that simple. Complicated regular expressions make the batch processing program very ugly. If you do not understand regular expressions, batch Processing uses the above two script programs. However, learning one thing first realizes its efficiency and role to continue with it.

 

Batch compilation tool: batedit

 

Continuing study ............

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.