Completed
Last Updated: 03 Apr 2023 12:42 by ADMIN
Ruth
Created on: 21 Dec 2022 16:53
Type: Bug Report
0
Independent elements used in coded step cause compilation error on remote run

Steps to reproduce: 

  1. In a test add an element through the highlighting menu -> Add Element to Repository.
  2. Create a step through the Step Builder for that element.
  3. Convert the step to code. Note: The test should not use any other recorded element in code. 
  4. At this point the element is only referenced in the test as Independent.
  5. Locally it is executed with no errors. 

Expected: To be executed with no errors on a remote machine. 
Actual: When executed through the Scheduling it results in compilation errors similar to this: 

 error CS1061: 'ProjectNamespace.Pages' does not contain a definition for 'PageNodeFriendlyName' and no extension method 'PageNodeFriendlyName' accepting a first argument of type 'ProjectNamespace.Pages' could be found (are you missing a using directive or an assembly reference?)

1 comment
ADMIN
Elena
Posted on: 03 Apr 2023 12:41

Hello Ruth,

The misbehavior was addressed in Test Studio release 2023 R1 published on 22. February 2023 (v.2023.1.222).

Regards,
Elena
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/.