⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abbot.xsd

📁 非常好的Java应用测试构架(Framework). 如果你对Java自动化测试很感兴趣
💻 XSD
📖 第 1 页 / 共 2 页
字号:
  <xsd:complexType name="annotationType" mixed="true">    <xsd:annotation>      <xsd:documentation>Annotation step.Provides a method for communicating a message on the display. May display for a reasonable delay or require user input to continue.</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="component" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Identificator of the component to which the location of the annotation shall be relatively positioned.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="title" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Title of the annotation window.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="userDismiss" type="xsd:boolean">      <xsd:annotation>        <xsd:documentation>Indicated if the annotation requires a user input.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="width" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Width of the annotation window in pixel.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="height" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Height of the annotation window in pixel.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="x" type="xsd:int">      <xsd:annotation>        <xsd:documentation>X coordinate of the upper left corner of the annotation window relativ to the specified component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="y" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Y coordinate of the upper left corner of the annotation window relativ to the specified component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the annotation.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="assertType">    <xsd:annotation>      <xsd:documentation>Assert step.An assert defines an assertion in the script. An assertion performes a method an compares the result with an expected result. </xsd:documentation>    </xsd:annotation>    <xsd:attribute name="method" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Method to be called for the assertion. You can invert the sense of either form of assertion by inserting a '!' character before the method name.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="args" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Arguments passed to the assertion method.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="class" type="xsd:string">      <xsd:annotation>        <xsd:documentation>The class tag is required for assertions based on a class derived from ComponentTester; the class tag indicates the Component class, not the Tester class (the appropriate tester class will be derived automatically).</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="component" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Identifier of the component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="value" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Expected value for the assertion of a method that returns a value.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="invert" type="xsd:boolean">      <xsd:annotation>        <xsd:documentation>If set inverts the form of the assertion. Identical to method="!XXX".</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the assertion.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="expr" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Boolean Java expression to evaluate.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="callType">    <xsd:annotation>      <xsd:documentation>Call step.Performes a method call on an arbitrary class. </xsd:documentation>    </xsd:annotation>    <xsd:attribute name="method" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Method to be invoked.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="args" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Arguments passed to the method.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="class" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Target class of the method invocation.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="property" type="xsd:string">      <xsd:annotation>        <xsd:documentation>If a property is indicated, the stringified result of the call will be stored in a property for later retrieval into any string as ${property}.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the call step.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="eventType">    <xsd:annotation>      <xsd:documentation>Event step.Script step to generate a single AWT event to a component. Currently used for key down/up and mouse motion.</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="component" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Identificator of the component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="type" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Type of the event. Currently supported are "MouseEvent" and "KeyEvent".</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="kind" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Kind of the event. Something like "MOUSE_MOVED".</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="modifiers" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Modifiers.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="x" type="xsd:int">      <xsd:annotation>        <xsd:documentation>X coordinate for a mouse event.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="y" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Y coordinate for a mouse event.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="count" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Count for mouse events.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="trigger" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Trigger for mouse events.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="keyCode" type="xsd:string">      <xsd:annotation>        <xsd:documentation>KeyCode for KeyEvents.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="keyChar" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Character for key events.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the event.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="expressionType" mixed="true">    <xsd:annotation>      <xsd:documentation>Expression step.Provides evaluation of Java code..</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the expression.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="sampleType">    <xsd:annotation>      <xsd:documentation>Sample step.The sample step stores the value found from the given method from the ComponentTester class.</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="property" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Property to which the value should be stored.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="method" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Method to be invoked.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="class" type="xsd:string">      <xsd:annotation>        <xsd:documentation>The class tag is required for methods based on a class derived from ComponentTester; the class tag indicates the Component class, not the Tester class (the appropriate tester class will be derived automatically).</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="component" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Identificator of the component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="args" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Arguments passed to the invoked method.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the sample step.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="waitType">    <xsd:annotation>      <xsd:documentation>Wait step.A wait step is a special kind of an assert step. It waits for an event.</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="method" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Method to be called for the assertion. You can invert the sense of either form of assertion by inserting a '!' character before the method name.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="args" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Arguments passed to the assertion method.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="class" type="xsd:string">      <xsd:annotation>        <xsd:documentation>The class tag is required for assertions based on a class derived from ComponentTester; the class tag indicates the Component class, not the Tester class (the appropriate tester class will be derived automatically).</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="component" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Identifier of the component.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="value" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Expected value for the assertion of a method that returns a value.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="invert" type="xsd:boolean">      <xsd:annotation>        <xsd:documentation>If set inverts the form of the assertion. Identical to method="!XXX".</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="timeout" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Timeout period for the wait step in milliseconds. If not set 10 s is used.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="pollInterval" type="xsd:int">      <xsd:annotation>        <xsd:documentation>Sleep time between checking the assertion. If not set 1/10 s is used.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the wait step.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="scriptType">    <xsd:annotation>      <xsd:documentation>Script step.Includes another Abbot test script into this script.  Typically included scripts should omit launch and terminate steps.</xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="comment" type="commentType" minOccurs="0" maxOccurs="1"/>    </xsd:sequence>    <xsd:attribute name="filename" type="xsd:string" use="required">      <xsd:annotation>        <xsd:documentation>Filename of the included script.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType>  <xsd:complexType name="commentType">    <xsd:annotation>      <xsd:documentation>Comment.</xsd:documentation>    </xsd:annotation>    <xsd:attribute name="desc" type="xsd:string">      <xsd:annotation>        <xsd:documentation>Description of the nested script.</xsd:documentation>      </xsd:annotation>    </xsd:attribute>  </xsd:complexType></xsd:schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -