This is a migrated thread and some comments may be shown as answers.

How to run WebAii automated tests as part of an automated build

3 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nuno
Top achievements
Rank 1
Nuno asked on 06 Dec 2010, 05:47 PM
Hi all,

I'm using TFS 2010 continous integration and I need to run WebAii tests as part of automated builds.

WebAii tests have coded steps. I guess I need the "xpto.aii" files and the "xptoProj.dll" (because of the compiled coded steps) on the same drop folder. Right?

So, as far as for the "xpto.aii" files, in VS2010 on the "Copy to Output Directory" I set it to "Copy Always".

Finally, to try to glue both parts / to make them communicate, I edited the build definition and on the Process Tab / Automated Tests settings, I specified two assemblies: *xpto.aii* and *xptoProj*.dll

This is not working because the test fails. Please see the attached image.

As additional information, all machines have WebUI Test Studio version 2010.3.1117.0 and the "xpto.aii" test runs sucessfully from my local machine and from the build server machine (using the Test View Window)

If I try to view test results by clicking on View Test Results located at the end of the build log I get an error (alert window), please find it also attached to this post. So, I opened the .TRX file to inspect and attach a screenshot to this post too.

This is a major issue for us, so any help is very much appreciated.

Regards,
Nuno Senica

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 08 Dec 2010, 01:27 AM
Hello Nuno,

First I can confirm we have a bug regarding the "Invalid cast" error message. This is bug 101274 and is actively being worked on.

I have found that a TFS build will copy the .aii file to the drop folder automatically. You don't need to set it to "Copy always". The .dll is also a generated file and the TFS build should also copy this to the drop folder.

What are you using to launch your tests? i.e. how are they getting started?

Kind regards,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Nuno
Top achievements
Rank 1
answered on 09 Dec 2010, 04:26 PM
Hi Cody,

Lets use the open ticket to follow this issue.

Thank you,
Nuno Senica
0
Cody
Telerik team
answered on 04 Mar 2011, 08:40 PM
Hi Nuno,

I'm just following up on some old threads. I see you have already downloaded the latest build that includes the fix for this bug. Let me know if you need further assistance.

 

Greetings,
Cody
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Nuno
Top achievements
Rank 1
Answers by
Cody
Telerik team
Nuno
Top achievements
Rank 1
Share this question
or