The first script-driven design draft hides several defects

Source: Internet
Author: User
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:

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.