none
.hckx转化为excel RRS feed

  • 问题


  • 1.HCK studio生成.hckx file

    2.  .hckx file to xml file

    >Merge-HwCertTestCollectionFromHckx -LiteralPath  C:\xx.hckx | Export-HwCertTestCollectionToXml -Output C:\xx.xml

    xx.xml created successful.

    3. xml file to excel 

    >New-HwCertTestCollectionExcelReport C:\xx.xml -ExcelPath C:\xx.xls -ResultCount 1

    New-HwCertTestCollectionExcelReport : Source: 'C:\temp\merged.xml' contains empty or whitespace-only test pass
    identifier.
    At line:1 char:1
    + New-HwCertTestCollectionExcelReport -LiteralPath "C:\temp\merged.xml" -ExcelPath ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (DF - Embedded S...(Certification):String) [New-HwCertTestCollectionEx
       celReport], InvalidOperationException
        + FullyQualifiedErrorId : HwCertEmptyTestPassIdentifier,Microsoft.Windows.Kits.Hardware.Certification.NewHwCertTes
       tCollectionExcelReportCmdlet

    How can I transform xml to excel?

    2016年8月15日 3:46

答案

  • Now, you can download a hlkx to excel tool from Microsoft Connect website. If you have no permission to access this website, you can ask somebody from Lenovo, dell, hp etc company WHQL engineers.

    http://whqlcn.wordpress.com

    2016年9月8日 11:10
    版主

全部回复

  • Now, you can download a hlkx to excel tool from Microsoft Connect website. If you have no permission to access this website, you can ask somebody from Lenovo, dell, hp etc company WHQL engineers.

    http://whqlcn.wordpress.com

    2016年9月8日 11:10
    版主
  • Hi,

    You need to add " -TestPassIdentifier “name" at the end of your command.

     Merge-HwCertTestCollectionFromHckx -LiteralPath  C:\xx.hckx | Export-HwCertTestCollectionToXml -Output C:\xx.xml  -TestPassIdentifier “name"

    Hope it works for you

    2016年9月19日 3:13