MicroFocus / ADM-FT-ToolsLauncher

Other
12 stars 8 forks source link

ReportConverter fails to convert UFT 15.0.2 report #50

Closed metaph3r closed 3 years ago

metaph3r commented 3 years ago

Tool ReportConverter_net48 v1.0.20.2003

Describe the bug I ran a test using the FTToolsLauncher but also tried it in UFT One GUI. After that test was run the run_results.xml file got created. When trying to use the ReportConverter I get the error message

"Error: The first XML node can't be recognized. The input file is not a valid UFT One test XML report. Res1\Report The input is invalid."

To Reproduce Steps to reproduce the behavior:

  1. Execute FTToolsLauncher_net48.exe -runType FileSystem -paramfile fttoolslauncher.config
  2. Execute ReportConverter_net48.exe -j junit_result.xml MyFlight\Report12 (also tried MyFlight\Report12\run_results.xml)
  3. See error

Expected behavior The run result is properly converted.

OS and testing tools (please complete the following information):

Additional context Contents of result file: `<?xml version="1.0"?>

SystemUtil.Run "C:\Program Files (x86)\Micro Focus\Unified Functional Testing\samples\Flights Application\FlightsGUI.exe",1 2021-06-25 11:24:15 Done 382e9913f0f4488781f512df7fadc46a True OpenApp 2021-06-25 11:24:14 1 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True agentName.Set "john" 2021-06-25 11:24:17 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\Login.tsr WpfWindow WpfEdit Set e2248b0b4c7f45d9abbf6333f440eef0 True password.SetSecure "5e3ae76181a43b9140ac" 2021-06-25 11:24:17 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\Login.tsr WpfWindow WpfEdit SetSecure e2248b0b4c7f45d9abbf6333f440eef0 True OK.Click 2021-06-25 11:24:17 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\Login.tsr WpfWindow WpfButton Click 9dfedabd01574f84b1e568f24fdbff7e True Micro Focus MyFlight Sample WpfWindow 2021-06-25 11:24:17 0 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\Login.tsr WpfWindow 36839c1fc766466280f88e061c662ceb True Login 2021-06-25 11:24:16 1 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True fromCity.Select "Los Angeles" 2021-06-25 11:24:17 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfComboBox Select 4b152b85d3ea4708bee20abf5681d929 True toCity.Select "Sydney" 2021-06-25 11:24:18 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfComboBox Select 4b152b85d3ea4708bee20abf5681d929 True datePicker.SetDate #05.07.2021 11:24:18# 2021-06-25 11:24:18 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfCalendar SetDate 18ba71abbe634d5aa41687639f0bf5ee True Class.Select "Business" 2021-06-25 11:24:18 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfComboBox Select 4b152b85d3ea4708bee20abf5681d929 True numOfTickets.Select "2" 2021-06-25 11:24:18 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfComboBox Select 4b152b85d3ea4708bee20abf5681d929 True FIND FLIGHTS.Click 2021-06-25 11:24:18 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightFinder.tsr WpfWindow WpfButton Click 9dfedabd01574f84b1e568f24fdbff7e True Micro Focus MyFlight Sample WpfWindow 2021-06-25 11:24:17 1 Done Local WpfWindow 36839c1fc766466280f88e061c662ceb True FlightFinder 2021-06-25 11:24:17 1 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True flightsDataGrid.SelectCell "0", "0" 2021-06-25 11:24:19 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\SelectFlight.tsr WpfWindow WpfTable SelectCell 9c28078cb1e74639ae1d17c1dfeeb6f5 True SELECT FLIGHT.Click 2021-06-25 11:24:19 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\SelectFlight.tsr WpfWindow WpfButton Click 9dfedabd01574f84b1e568f24fdbff7e True Micro Focus MyFlight Sample WpfWindow 2021-06-25 11:24:19 0 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\SelectFlight.tsr WpfWindow 36839c1fc766466280f88e061c662ceb True SelectFlight 2021-06-25 11:24:18 1 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True passengerName.Set "Silvio Glöckner" 2021-06-25 11:24:19 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightConfirmation.tsr WpfWindow WpfEdit Set e2248b0b4c7f45d9abbf6333f440eef0 True ORDER.Click 2021-06-25 11:24:19 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightConfirmation.tsr WpfWindow WpfButton Click 9dfedabd01574f84b1e568f24fdbff7e True progBar.WaitProperty "value", 100, 100, 20000 2021-06-25 11:24:20 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightConfirmation.tsr WpfWindow WpfProgressBar WaitProperty 7f6e6e3758b64e3a8e14a56829bc8aaa True NEW SEARCH.Click 2021-06-25 11:24:21 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightConfirmation.tsr WpfWindow WpfButton Click 9dfedabd01574f84b1e568f24fdbff7e True Micro Focus MyFlight Sample WpfWindow 2021-06-25 11:24:19 2 Done C:\Develop\git\UFT-Flight-Test-Demo\TutorialObjectRepositories\FlightConfirmation.tsr WpfWindow 36839c1fc766466280f88e061c662ceb True FlightConfirmation 2021-06-25 11:24:19 2 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True CloseApp 2021-06-25 11:24:21 Done 1e5f548f6ab24bf8b7f8b5978c10bfc9 True MyFlight Micro Focus Unified Functional Testing 0 15.0.2 2021-06-25 11:24:14 7 Done e1df9a1ddffc4fbfa01051c4f9be10a2 True +02:00:00 Deutsch (Deutschland) AD\sgloeckner Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 12 32514 ad.proficom.de\P0002-WIN10-SG Windows 10 Report12 2021-06-25 11:24:14 +02:00:00 Micro Focus Unified Functional Testing 0 15.0.2 `
soleverxu commented 3 years ago

Fixed in the v1.0 beta (rev.7) release. Please download the executable file in the release page.

metaph3r commented 3 years ago

Thanks. The conversion is working again.