TakesScreenshot selenium html testcase

时间:2014-09-11 18:56:16

标签: selenium

有没有办法让html测试可以截屏?

<?xml version="1.0" encoding="UTF-8"?>
....
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">texte1</td></tr>
</thead><tbody>
<tr>
    <td>open</td>
    <td>/Default.aspx</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>id=txt1</td>
    <td>test1</td>
</tr>

<tr>
    <td>takeScreenshot</td>
</tr>
...

0 个答案:

没有答案