1. A method for performing software testing by using a plurality of test cases, wherein each of the test cases includes a plurality of test tasks, the method comprising: analyzing, by an analyzing hardware module, the plurality of test cases to obtain at least one reusable test task sequence between at least two test cases, the reusable test task sequence including at least one identical test task; dividing, by a dividing hardware module, the plurality of test cases into multiple test case groups according to the reusable test task sequence, wherein a plurality of test cases in each of the multiple test case groups has at least one reusable test task sequence; and generating, for each of the plurality of test cases of the multiple test case groups and by a generating hardware module, an execution script of each test case by using an execution script of a reusable test task, the execution script of each test case including at least one of backup or restore for the reusable test task sequence.