问题1:win7,xp系统不同导致引入excel文件的时候报无端的错误。

错误信息:The DataTable.ImportSheet operation failed. File contains a feature not supported by Formula One.

QTP的那些事--importsheet注意的一些事情

很简单,不同的系统的问题。

解决方法:将对应的你所运行的系统环境下,打开对应的你需要导入的excel文件,另存为以下即可;

 

 

问题2:导入的excel在操作datatable.localsheet.getrowcount的时候总是得到很多行数据,而不是预期的excel中的数据行数。

解决方法:

将对应的excel中的数据删除不必要的行,然后再保存即可;

相关文章:

  • 2021-12-28
  • 2022-01-15
  • 2021-08-09
  • 2021-11-09
  • 2021-11-20
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2021-08-19
  • 2021-08-09
  • 2021-09-29
  • 2021-12-26
  • 2021-09-04
  • 2022-12-23
  • 2021-05-27
相关资源
相似解决方案