The embodiment of the invention provides a test case application method and a related product. The method comprises the steps of collecting a first test case selected by a target object in a test case library, taking the first test case as a root node of the tree diagram, and obtaining other test cases associated with the first test case and an association relationship, generating at least one tree diagram according to the incidence relation and other test cases, and generating a loading directory corresponding to the tree diagrams based on the subordination relationship among the root nodes in each tree diagram, so as to display a target tree diagram corresponding to the target entry based on the user triggering information. According to the technical scheme, when any test case is selected by the target object, the tree diagram with the first test case as the root node can be automatically generated, the tree diagram is displayed, then the relationship between the case libraries is determined through display, test case brain diagram display of any granularity is completed, the data display efficiency can be improved, and large-capacity test cases are managed in a unified manner.