如何在机器人框架中将html文本写入文本区域?

时间:2017-11-28 10:55:04

标签: python selenium robotframework ui-automation

我想将以下代码添加到textarea输入中,我该如何使用Robot Framework执行此操作?

<table style="margin-top: 1em; margin-left:1em;">
    <tbody>
        <tr>
            <td><img src="/static/31bc33ac/images/48x48/orange-square.png" style="width: 48px; height: 48px; " class="icon-orange-square icon-xlg"></td>
            <td style="vertical-align:middle">
                <p><span>Started by user <a href="/user/vkatkar">Vaishali Katkar</a></span></p>
            </td>
        </tr>
        <tr>
            <td><img src="/static/31bc33ac/plugin/metrics/images/48x48/clock.png" alt="" style="width: 48px; height: 48px; margin-right:1em;"></td>
            <td style="vertical-align:middle">
                <p>This run spent 1 sec waiting in the queue.</p>
            </td>
        </tr>
        <tr>
            <td><img src="/static/31bc33ac/plugin/git/icons/git-48x48.png" alt="" style="width: 48px; height: 48px; margin-right:1em;"></td>
            <td style="vertical-align:middle"><b>Revision</b>: 861b6af99e7899d0b725459417e9fadfa25e2706
                <ul>
                    <li>develop</li>
                </ul>
            </td>
        </tr>
    </tbody>
</table>

0 个答案:

没有答案