Sometimes all of a suddent we get compilation errors saying a particular element is a particular test is not found although the user has not changed anything to the elements.
Why telerik renames the existing element ?
Regards,
Nithya A.
3 Answers, 1 is accepted
0
Elena
Telerik team
answered on 12 Jul 2019, 04:04 AM
Hello Nithya,
I am sorry to hear for the faced issue and will be happy to assist you with that.
Probably the issue appears when you copy coded steps between the different tests or an element is deleted from the Elements Explorer, but still used in a coded step - you can find additional details on the topic here.
The thing is that an element is referenced with a recorded step in a test. Then once this step is converted into code, the element is no longer referenced by that step. And, if the element is not used by another step in the test, the reference to it may get lost, which leads to the compilation errors. Such errors can be faced in remote test execution as well.
In case the above information is not sufficient for you to sort what causes the errors, I will be glad to explore a project, which generates such an error and provide further details on the case. So, please, do not hesitate to contact me back in case of need.
Thanks for a good explanation .. I will follow the solution mentioned in the Links above and check if the issue is solved..
I will come back to you if there are any more issues.. Have a Nice Day :)
Regards,
Nithya A.
0
Elena
Telerik team
answered on 16 Jul 2019, 10:56 AM
Hello Nithya,
I am pleased to know you find the shared details helpful. Of course, take your time to go through these and in case you need additional assistance, please, do not hesitate to get back to me.