We need to perform script-driven automated tests recently, so we started to design the Script Template. Through the first stage of thinking and experiments, we have summarized the framework design diagrams of the Script driver templates and classes. However, the true development of the Framework Design Diagram has many defects, however, I hope this is a starting point for further design.
Script Template:
<? XML version = " 1.0 " Encoding = " UTF-8 " ?>
< App name = "" Target = "" >
< Excludedcontrols >
< Control ID = "" />
< Control ID = "" />
</ Excludedcontrols >
< Case title = "" Savepath = "" >
< Script driver = "" > </ Script >
< Control ID = "" Action = "" Value = "" Ancestor = "" />
< Uicapture title = "" Rootcontrolid = "" >
< Excludedcontrols >
< Control ID = "" />
< Control ID = "" />
</ Excludedcontrols >
</ Uicapture >
</ Case>
</ APP>
<? XML version = " 1.0 " Encoding = " UTF-8 " ?>
< Application name = "" >
< Form name = "" Classname = "" >
< Control name = "" ID = "" />
< Control name = "" ID = "" >
< Controlitem name = "" ID = "" />
</ Control >
</ Form >
< Form ref = " Formcontrols. xml " />
</ Application >
Class Structure: