webreplayscenario2.xml

来自「an automated software testing tool for W」· XML 代码 · 共 27 行

XML
27
字号
<?xml version="1.0" encoding="Windows-1252"?>
<!-- $Id: WebReplayScenario2.xml 12 2005-06-13 10:21:59Z wpc0756\Emmanuel $ -->
<!-- Copyright 2005 Emmanuel KARTMANN (emmanuel@kartmann.org) -->
<web_replay>
  <scenario>
    <!-- Search something in codeproject -->
    <step>
      <action type="navigate" url="http://www.codeproject.com" />
    </step>
    <step>
      <action type="control" name="target" event="set_value" value="Emmanuel KARTMANN" />
      <!-- -->
      <action type="control" name="st" event="set_value" value="au" />
      <!-- This field is unnamed; but it has a specific value attribute -->
      <action type="control" name="" value="Go" event="click" />
    </step>
    <step>
      <!-- This field is an unnamed hyperlink; search for its "innerText" -->
      <action type="control" name="" value="Gnu Privacy Guard (GPG/PGP) for .NET [v1.0]" event="click" />
    </step>
    <step>
      <!-- This field is an unnamed hyperlink; search for its "href" -->
      <action type="control" name="" value="http://www.codeproject.com/script/Articles/list_articles.asp?userid=76" event="click" />
    </step>
  </scenario>
</web_replay>

⌨️ 快捷键说明

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