如何把Excel表格数据转成XML

因为case的管理工具现在要使用开源工具testlink,这就导致如何移植历史数据的问题。之前case管理工具是devtest,可以export excel格式的用例,但是testlink只能import XML的数据。如何能把EXCEL转成XML,我自己试了一下。

首要的步骤是创建mapped rangesmapped range: A range in an XML list that has been linked to an element an XML map.

Steps:

1.       If the Developer tab is not available, do the following to display it:

1.       Click the Microsoft Office Button , and then click Excel Options.

2.       In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.

2.       On the Developer tab, in the XML group, click Source.

The XML Source task pane is displayed.

3.       To map one or more elements to your worksheet, select the elements in the XML Source task pane. To select nonadjacent elements, click one element, and then hold down CTRL and click each element.

4.       Drag the selected elements to the worksheet location where you want them to appear.

Note:这就涉及一个问题,首先要找好XML source文件,我的做法是在testlink创建一个test case,然后export,用这个XML文件作为source

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值