TestSuite XML Format is invalid : Bug Reports

TestSuite XML Format is invalid

Bug reports and feature requests.

TestSuite XML Format is invalid

Postby APSoftware » Wed Apr 06, 2011 3: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
APSoftware
 
Posts: 8
Joined: Tue Sep 14, 2010 11:43 am

Re: TestSuite XML Format is invalid

Postby Support Team » Wed Apr 06, 2011 3: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Postby APSoftware » Wed Apr 06, 2011 3:47 pm

Hi Peter!

I've sent the project by email to "support@ranorex.com" with the subject "Forum Topic: TestSuite XML Format is invalid".

Kind regards
Stefan
APSoftware
 
Posts: 8
Joined: Tue Sep 14, 2010 11:43 am

Re: TestSuite XML Format is invalid

Postby Support Team » Wed Apr 06, 2011 4: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Postby APSoftware » Thu Apr 07, 2011 11:12 am

Hello Peter!

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

Regards
Stefan
APSoftware
 
Posts: 8
Joined: Tue Sep 14, 2010 11:43 am

Re: TestSuite XML Format is invalid

Postby Support Team » Thu Apr 07, 2011 11:14 am

No problem, you are welcome.:)

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Postby dman » Fri Sep 09, 2011 4: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: 24
Joined: Mon Aug 29, 2011 10:33 am
Location: München

Re: TestSuite XML Format is invalid

Postby dman » Fri Sep 09, 2011 4: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.
dman
 
Posts: 24
Joined: Mon Aug 29, 2011 10:33 am
Location: München

Re: TestSuite XML Format is invalid

Postby Support Team » Mon Sep 12, 2011 12:14 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: TestSuite XML Format is invalid

Postby dman » Tue Sep 13, 2011 9: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: 24
Joined: Mon Aug 29, 2011 10:33 am
Location: München

Re: TestSuite XML Format is invalid

Postby dman » Tue Sep 13, 2011 10:58 am

oh small detail that might be important, the record I copied, might have been created with 3.0
dman
 
Posts: 24
Joined: Mon Aug 29, 2011 10:33 am
Location: München


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron