Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Tests with mtb file throws error on report conversion. [error]Cannot convert value "System.Object[]" to type "System.Xml.XmlDocument". Error: "The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type." #78

Open
roddaz opened this issue Feb 20, 2023 · 4 comments
Assignees

Comments

@roddaz
Copy link

roddaz commented Feb 20, 2023

Hello

I am experiencing the exact same issue mentioned in this bug and keen to help provide information to get it resolved.
#50

As mentioned by the previous user when I specify the tests as a .mtb file I get this error

image

However in the exact same pipeline if I just manually specify the test I get no such error.
Worth pointing out the test execute fine and passes and the generated UFT report is all fine and passed

I am using version 3 of the Azure Addon and have attached the props file for the last run I just did which ended with this error
Props20022023182435SSS.txt

If you need anything else let me know.

Thanks in advance
Rodney

@dorin7bogdan dorin7bogdan self-assigned this Apr 4, 2023
@dorin7bogdan
Copy link
Member

dorin7bogdan commented Apr 4, 2023

Hi Rodney,
If possible, please also provide all files generated at runtime in the res\Report_### subfolder (C:\uftagent\UFTWorking\res\Report_705) of the build 705 or of a similar build that failed with the same error.
Additionally, please try to upgrade to the latest version and see if the issue is still reproducible.

@roddaz
Copy link
Author

roddaz commented Apr 10, 2023

Hello sorry I somehow missed this

Here is a link to the files associated with the 705 run as requested above which was using version 3
https://1drv.ms/u/s!AmoOE9KLNm_nwCKWwdlWQDlBtMGQ?e=cMKWxo

I just tried a using Versions 4 and 5 and get the following error instead
image
image

@dorin7bogdan
Copy link
Member

dorin7bogdan commented Oct 3, 2023

Hi Rodney,

Is this issue still actual?

Kind regards,
Dorin.

@roddaz
Copy link
Author

roddaz commented Oct 3, 2023

Hey Dorin

I ended up writing some PowerShell to get around this issue with the MTB and insert multiple tests via a API call instead to a DevOps Var so have not checked again sorry.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants