
"C:\Program Files (x86)\Telerik\WebUI Test Studio 2010.3\Bin\ArtOfTest.Runner.exe" "aii=D:\My Path\Some script.aii"
Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Design.ProjectModel.Test.NeedToCompile()
at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteTest(String aiiFullPath, Dictionary`2 publishArgs)
at ArtOfTest.Runner.Program.CommandLineExecution(String[] args)
at ArtOfTest.Runner.Program.Main(String[] args)
How to solve this error?
12 Answers, 1 is accepted
Thanks for writing.
I can admit such an error was possible with the build you're running. Please install the latest internal build to solve it. I'm sorry for the temporary inconvenience!
Kind regards,
Konstantin Petkov
the Telerik team
Register Today!

You are right -- the issue persists in the latest internal build too. The good news is our next official and major R1 is coming out on Monday next week. Please make sure you upgrade once we announce the new release.
All the best,
Konstantin Petkov
the Telerik team
Register Today!

Please check out this documentation.
Greetings,Cody
the Telerik team
Register Today!

Hi,
Even am getting same error while running the test using command line arguments. Have downloaded “Telerik.WebUI.TestStudio.QA.2010.3.1607_Trial.msi” and tried. Please find the attached screen shot and please advice.
I am very sorry you are running into this problem. Please send me your entire test project for analysis and diagnostics (just place the entire folder into a .zip file), or at least one of the problem tests (the .aii and .resx and .cs/.vb files). You may open up a support ticket on this problem if you wish to have some security. Only you and us in tech support can view your support tickets.
Best wishes,Cody
the Telerik team
Register Today!

BTW, your Forum Post Editor does not works in Chrome (see second attachment).

Please find the attachments, please advice.
My apologies for the delay responding to you. I took your project, upgraded it to our R1 release (which was released to the public last week) and successfully ran your q.bat file (after tweaking the file paths). I am guessing that somehow your installation is messed up in some obscure way. Please try uninstalling Test Studio completely, downloading R1, installing it and reloading your project and try this again. The uninstall will not remove your existing test project. You can re-open it by selecting Open Existing Project from the main screen.
All the best,Cody
the Telerik team
Register Today!

Thanks so much, its working fine for me.
Could you please let me know, is it possible to run the test file in batch using command line arguments.
I'm not sure I understand what you mean by "...run the test file in batch...". If you want to run a set of tests I recommend using our Test List feature which you can find some documentation on in the middle of this page.
To execute a test list from the command line, use the list= command line option as shown in the documentation I previously pointed you to on the ArtOfTest.Runner command line utility.
Cody
the Telerik team
Register Today!