使用watir在handsontable表中填充值

时间:2013-02-07 04:31:30

标签: watir handsontable

如何使用Watir自动完成在handsontable中填充值的任务?

我在excel中有值列表。 Watir读取这些值,然后在各自的列中填充handontable。挑战在于handsontable中的字段都没有识别属性,这使得工作更加困难。


请按要求查找HTML代码:

<html>
<head>
  <body>
      <form action="importer.php" method="POST">
        <div class="selections">
          <div id="buildingSelector" style="display: none;">
            <script src="js/importer/buildingselect.js">
            <script type="text/javascript">
              <div id="importdata" class="handsontable">
                <div class="wtHolder" style="position: relative; display: table;">
                 <div class="wtHider" style="position: relative; overflow: hidden; width: 1904px;">
                   <div class="wtSpreader">
                     <table class="htCore" style="display: table;">
                       <colgroup>
                         <thead>
                           <tr>
                            <thead>
                              <tbody>
                                 <tr>
                                   <td class=""></td>
                                   <td class=""></td>
                                   <td class=""></td>
                                 </tr>

0 个答案:

没有答案