TestSuite XML Format is invalid

Bug reports.
APSoftware
Posts: 8
Joined: Tue Sep 14, 2010 10:43 am

TestSuite XML Format is invalid

Post by APSoftware » Wed Apr 06, 2011 2:29 pm

Hey Guys!

After an update from 3.0.0 to 3.0.1, the Error "TestSuite XML Format is invalid" appears on opening an project. After clicking the OK-Button the project will be opened, but the Test Suite is empty.

Kind Regards
Stefan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Post by Support Team » Wed Apr 06, 2011 2:34 pm

Hi Stefan,

Would it be possible to send us the project?
Then we can take a look on it to check what's wrong.

Thanks in advance.

Regards,
Peter
Ranorex Team
.
Image

APSoftware
Posts: 8
Joined: Tue Sep 14, 2010 10:43 am

Re: TestSuite XML Format is invalid

Post by APSoftware » Wed Apr 06, 2011 2:47 pm

Hi Peter!

I've sent the project by email to "[email protected]" with the subject "Forum Topic: TestSuite XML Format is invalid".

Kind regards
Stefan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Post by Support Team » Wed Apr 06, 2011 3:31 pm

Hi Stefan,

I already sent you the corrected TestSuite file. It seems there was duplicate GUID inside your XML and therefore this error happens. Ranorex 3.0.1 causes this problem, because the check are more consequent.

Regards,
Peter
Ranorex Team
.
Image

APSoftware
Posts: 8
Joined: Tue Sep 14, 2010 10:43 am

Re: TestSuite XML Format is invalid

Post by APSoftware » Thu Apr 07, 2011 10:12 am

Hello Peter!

Thanks for your fast reply, now the tests are working again.

Regards
Stefan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Post by Support Team » Thu Apr 07, 2011 10:14 am

No problem, you are welcome.:)

Regards,
Peter
Ranorex Team
.
Image

dman
Posts: 64
Joined: Mon Aug 29, 2011 9:33 am
Location: München

Re: TestSuite XML Format is invalid

Post by dman » Fri Sep 09, 2011 3:18 pm

have the same problem :(
is there anything I can do to solve the problem - maybe edit the xml file (which I can't find) to make one of those IDs unique?

All the best!
D.
p.s. using 3.1.0

dman
Posts: 64
Joined: Mon Aug 29, 2011 9:33 am
Location: München

Re: TestSuite XML Format is invalid

Post by dman » Fri Sep 09, 2011 3:34 pm

ha! I think I got it:

- the file to be edited is the project's .rxtst (xml format);
- for me it happend after I copy-pasted a recording from a test case to another (should be ref)
- the duplicate ID you get displayed in the error message so, I just modified it (i.e. one of the two instances) slightly (made a "c" out of the ending "a")

<testmodule name="KillApp" id="b6b36bff-32b2-4d77-b28e-f6753edee0da" ref="d9c0faab-f003-4295-b243-5fec434d371b" type="Recording"/>

and tadaaaa! :D

not sure if the right way to do it, but it seems to work - Support could correct me if I'm wrong!

all the best!
D.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Post by Support Team » Mon Sep 12, 2011 11:14 am

Hi,
not sure if the right way to do it, but it seems to work - Support could correct me if I'm wrong!
Yes, you can edit the GUID to make it unique again. This "Globally unique identifier" are used to uniquely identify the different modules of Ranorex.
But this should not happen if you copy a Recording, therefore can you send us the exact steps which leads to this issue?
You are using the new 3.1 am i right?

Thanks in advance!

Regards,
Markus
Ranorex Support Team
.
Image

dman
Posts: 64
Joined: Mon Aug 29, 2011 9:33 am
Location: München

Re: TestSuite XML Format is invalid

Post by dman » Tue Sep 13, 2011 8:41 am

sorry, as steps to reproduce, I have nothing - I only remeber doing the copy and then... "crash boom bang"

yes, I am using 3.1

All the best,
D.

dman
Posts: 64
Joined: Mon Aug 29, 2011 9:33 am
Location: München

Re: TestSuite XML Format is invalid

Post by dman » Tue Sep 13, 2011 9:58 am

oh small detail that might be important, the record I copied, might have been created with 3.0

mshellagi
Posts: 1
Joined: Thu Apr 17, 2014 1:20 pm

Re: TestSuite XML Format is invalid

Post by mshellagi » Thu Apr 17, 2014 1:24 pm

I am also facing same problem, But i am unable to resolve it by looking into available posts

nithyajai
Posts: 1
Joined: Wed Apr 30, 2014 8:12 am

Re: TestSuite XML Format is invalid

Post by nithyajai » Wed Apr 30, 2014 8:18 am

Wrong xml testsuite file error "i need a solution" If anyone done it correctly Please attach the xml file format for reference