The invention relates to a complex resource constraint-oriented test task scheduling method, and relates to the field of automated testing, and the method comprises the following steps: connecting test task nodes of a target system according to a preset test task dependency relationship to obtain a target directed acyclic graph of a plurality of test task nodes; obtaining at least one test task path according to the target directed acyclic graph, and determining a node sequence of each test task node in the corresponding test task path; sequentially determining a reference test resource of each test task node in at least one test task path according to the test resource constraint condition and the node sequence, and executing a corresponding test script according to the reference test resource. Therefore, the test task is executed based on the target directed acyclic graph, parallel execution of the test task can be achieved, the test efficiency and the utilization rate of the test resources are improved, the test resources are matched based on the test resource constraint conditions, and the selection reliability and efficiency of the test resources are improved.