1

Excel geeks and software-engineers,

I am playing with the "Excel Webdata Import" to generate a pivot report of Bugs and affected Testcases. The data comes from an proprietary tool, and is a html-table. Most of Excel's HTML import works but I have some strange effects:

1) some TDs contain a DIV which is shown on mouse-over. In Excel I get multiple cells for the info in the DIV ( a bold heading, a description, a last modification date )

2) one HTML column has data that should go to two excel cells, a text and an icon.

Question: How can I either:

  • postprocess the data in Excel (automatically at refresh)?
  • tune the import stylesheet?

For 1) I would like to collapse the 3 excel rows to 3 cells in one row

For 2) I would like to split the cell using a regex or so.

I would like to avoid using an additional tool to have the tool-chain as short as possible.

Thanks for any hints and pointers.

Edit: Here is an example row:

<tr class="level0">
    <!-- case 1) -->
    <!-- some fancy javascript and div stuff in html. shown in browser is an icon + mouse-over-div -->
    <td>
        <a onMouseOver="Element.show('bug_35017')" onMouseOut="Element.hide('bug_35017')" href="jira/browse/35017" target="_blank"><img alt="Bug_" border="0" src="/images/bug_.gif?1348035189" /></a>
        <div id="bug_35017" style="padding: 5px; width: 40%; display: none; position: absolute; left: 30%; border: 1px solid #666; background: white; color: #000">
            <img alt="Bug_" border="0" src="/images/bug_.gif?1348035189" />
            <b style="color: #000">JIRA 35017</b>
            &nbsp;&nbsp; last modification: 2012-12-19 10:13:54<p/>
            <blockquote style="color: #000">
                "Delete account - Please review Testcase 12345" 
            </blockquote>
        </div>
    </td>

    <!-- case 2) -->
    <!-- a date and the info if the testcase was ok or not, using an icon in one TD -->
    <td>
                17:26:45 12.12.12 <img alt="Nok" src="/images/nok.gif?1348035189" />
    </td>
</tr> 

I'd like to see this as:

| 35015 | 2012-12-19 10:13:54 | Delete account please review Testcase 12345 | 17:26:45 12.12.12 | Nok |

But I get :

| 35015                                       | 17:26:45 12.12.12 Nok |
| 2012-12-19 10:13:54                         |  |
| Delete account please review Testcase 12345 |  |
4

1 に答える 1

1

入力から、Jira をバグ追跡として使用しているようです。私は QA でもあり、プロジェクトの 90% でこれを使用しているため、ヒントは次のとおりです。組み込みの Excel エクスポートを試してください。

Jira Excel エクスポート

最初のオプションは、表示可能なフィールドのみをエクスポートします (Jira を使用してカスタマイズできます)。2 番目のオプションは、課題に関連するすべての可能なフィールド/情報を提供します。私の 4 年以上の QA 経験では、これまでのところ、これらの 2 つで、可能なまたは不可能な種類のレポートや統計を生成するのに十分でないケースに直面したことはありません。

もう 1 つのアドバイス -質問にタグを追加すると、関連する回答が得られる可能性が高くなります。

于 2013-01-24T10:59:51.593 に答える