Script not running post updated Build version is '2023.1.329.1'.

1 Answer 78 Views
Installation Test Configuration Test Execution
Naveen
Top achievements
Rank 1
Naveen asked on 25 Apr 2023, 01:14 PM

Hey All,

I am getting below error post updated Build version is '2023.1.329.1'. Please help me out with below issue.

Error : ------------------------------------------------------------

'25-04-2023 17:58:40' - Executing test: 'XXXXP', path: 'Cool\Administrator\XBCD.tstest.'
'25-04-2023 17:58:40' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2023.1.329.1'.
'25-04-2023 17:58:40' - Starting execution....
------------------------------------------------------------
'25-04-2023 17:58:40' - Tip: The current monitor(s) setup is not at 100% scale!
For best recording and execution experience please set all monitor scaling to 100%.
'25-04-2023 17:58:43' - Detected custom code in test. Locating test assembly: Next Gen.dll.
'25-04-2023 17:58:43' - Assembly Found: C:\Users\XVP\Documents\Cool\Cool Automation\Test Studio Projects\West\bin\Next Gen.dll
'25-04-2023 17:58:43' - Loading code class: 'Next_Gen.Activity_code_Update'.
'25-04-2023 17:58:43' - Failure detected during execution. Details:
------------------------------------------------------------
'25-04-2023 17:58:43' - System.ArgumentException: Unable to find the test class type 'Next_Gen.Activity_code_Update' in your test assembly. Please make sure your test code behind is compiled with your latest changes.at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureTypeExists(Assembly assm, String typeName)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
---------------------------------------------------------------------------------------------------------------------------
'25-04-2023 17:58:44' - Test completed!

1 Answer, 1 is accepted

Sort by
0
Shtilianov
Telerik team
answered on 28 Apr 2023, 07:38 AM

Hi Naveen,

Do you have compilation errors when you compile the project? Have you recently made any changes in the project like copying files or tests with coded steps from another project?

One thing you can try is to reset the namespace in the project settings - under Script tab you can see what is the project namespace and apply it for all coded tests in project by clicking the Ok button. 

Let me know of the outcome.

Regards, Miroslav Shtilianov Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Installation Test Configuration Test Execution
Asked by
Naveen
Top achievements
Rank 1
Answers by
Shtilianov
Telerik team
Share this question
or