This is a migrated thread and some comments may be shown as answers.

Compilation error saying particular element not found.

3 Answers 8 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nithya
Top achievements
Rank 1
Veteran
Nithya asked on 10 Jul 2019, 11:35 AM

Hi , 

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

Sort by
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. 

Thank you in advance for your cooperation. 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Nithya
Top achievements
Rank 1
Veteran
answered on 12 Jul 2019, 12:54 PM

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. 

Thank you for your cooperation once again. 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Nithya
Top achievements
Rank 1
Veteran
Answers by
Elena
Telerik team
Nithya
Top achievements
Rank 1
Veteran
Share this question
or