10 Answers, 1 is accepted
Hi Beckie,
We tried to duplicate your symptoms but were unable to do so. The best way for us to assist further is for us to get a copy of the project itself (in .zip/.rar format). We won't need access to your site/development area, just the project itself so we can review it more deeply to see why it is pointing to the wrong area.
We'll look for your reply with the project attached for us to review it and help determine why the correct file path is not being found when you run the test through a test list.
Kind regards,
Keaegan
the Telerik team
Please take a look and let me know what you find. Thanks for all your help! I can't go forward with my tests until I get this resolved.
Hello Beckie,
In the copy of the project provided it looks like an entire folder (administration) had its' contents removed. Viewing the folder within Visual Studio, there are a number of tests that appear with warning symbols as they cannot be found but are referenced elsewhere within the solution. With these files missing I am getting an error with execution no matter the method involved with attempting to get the WebAii test to execute.
error CS1504: Source file 'C:\Users\<
username
>\Documents\Visual Studio 2008\Projects\JLDW_Telerik_Tests\JLDW_Telerik_Tests\Administration\BarCodePrinter_UpdateDeleteList.aii.cs' could not be opened ('Unspecified error ')
This usually means that the folders contents were deleted via Windows Explorer. After Excluding the folder from the project, all of the contained .cs files were no longer referenced and I did not see compile issues with executing tests. If there are no coded steps within a test, it does not compile the code-behind files found in the project (which is why you found the 2nd feedback for tests without code). Until the administration folder is excluded it will be listed within the .csproj file for the test project. After excluding it from the test, the files/folders should no longer be listed as Include within the .csproj file.
In visual studio, locate the Administration folder within the Solution Explorer and right-click it, then choose Exclude from Project. After doing so, please re-test the issue. If you are still experiencing the symptom, please upgrade to our
I have been working with the project some more, and have resolved some of this issues, but not all. It appears the TestAssemblyPath setting in the .aii files were different...some pointing to bin\, some pointing to bin\Debug. Still having some problems running other tests within tests, but the zip file is too large to upload the whole project to this forum. Will do some research and post if problems cannot be resolved. -Appears- to not be an attachment issue.
Your post is missing the link to whatever upgrade I should be getting. Thanks so much for your help and time...we really appreciate your help!!
The link is for the Q3 - SP1 edition of our software. I apologize that the last lines were not included in the outgoing email.
Also, I sent you an invitation to my personal Dropbox. The folder sent will only be accessible by you and I, so you can drop off the entire project in this folder for me to assist with reviewing it further. I'll be more than happy to assist in what ways I can.
Kind regards,
Keaegan
the Telerik team
I apologize for the delay responding to you. Keaegan is out sick today and was yesterday as well. You can either wait for Keaegan to return (should be back tomorrow) or I can pickup where he left off. I don't have access to his dropbox unfortunately. I do have my own. If you can upload the same file to my dropbox I can pickup in Keaegan's absence. Let me know what you prefer to do.
Regards,Cody
Thanks for the reply, and awesome customer service! Unfortunately I have to upload the code from home. If Keaegan, is out today or unable to get to this soon, please let me know, as well as provide a link to drop box the code to you.
I appreciate your help!!
-beckie
I apologize vehemently for the delay in getting back to you. I didn't find issue with running the specified test (runall.aii) if I built the solution first. I wasn't able to build the provided solution until I modified the following two lines in Retro_Validate_Requests.aii.cs:
Pages.REPORTDETAILS_0_0.TF_998_TAB.Click(
false
);
Pages.REPORTDETAILS_0_0.TF_998_TAB.Click(
false
);
The modification done was to comment these two lines out. After commenting them out in the specified code-behind file the build completed successfully and the test ran without creating the error (albeit it was not able to execute the full test).
The reason for this is that the software will still compile the code-behind files in the same folder, but will only call the one currently in use. This error is hitting during compile time for the execution process, so the above and possibly some other items are causing issue.
Open the project and try to build it. When you do, the error list will point each error out in the error list. Locate each of these and either comment out the steps or add in the necessary information to allow the code-behind step to compile.
Kind regards,
Keaegan
the Telerik team