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

Project Compilation Fails After Step is Deleted

1 Answer 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pravin
Top achievements
Rank 1
Pravin asked on 14 Feb 2017, 06:56 AM

Hi guys, 

Have questions in regards to Telerik elements. My project is located in TFS source control and it contains several folders that contains scripts(Elements1.png). 

Some of these scripts are not maintained and i was in the midst of trying to fix the outdated scripts when i encountered a big issue. I found out one of the step in the scripts have it's elements outdated so in order to fix it, i deleted the step and recorded a new step. But when i try to run this particular script(Element2.png), i couldn't even compile it and the error was pointing to some other script even tough i did nothing to that script(Element3.png). 

After looking at the issue even further, i found that running a particular script not only compiles that script, it also compiles the whole project and deleting the steps also deletes the element from that step.  And because Element3.png coded step calls the deleted element, the whole project compilation fails. 

I tried changing the new element name to the same name as the old element but when i did this, the project seems to compile but the playback is not happening. 

Is there work around to this issue? It's quite a major obstacle for me as due to this, i can't do any test scripts maintenance as whenever i delete a step in a script, the element used is also deleted and since Telerik is compiling the whole project to run the playback the other scripts is affected as well. 

I hope it the explanation made sense to you :) 

Thanks,

Best Regards,

Pravin
praja@dongenergy.dk

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 16 Feb 2017, 04:06 PM
Hi Pravin,

I am glad to hear you have investigated the encountered issue in depth. All mentioned facts are correct and this is how Test Studio works, The approach you have chosen to handle the issue sound also to be applicable. However without the project itself it would be hard to define what is going wrong. Will it be possible to provide us the project for further inspection? 

Thanks in advance! 

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