Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
3 years ago

Strange error when merging units

Hi,

When I am trying to run a test, its giving me an error ,attached image. The error is not in the test unit but in the other unit it is attached to. 

 

The same unit works fine with my BDD scripts, but this test was written by somebody else and throws error for my new unit. I have checked that the For loop syntax is fine. I use Javascript. Apparently, he had written all his units into Javascript but just to check the language, is there any option I can look for in his project to confirm the language.

 

Thanks

  • Thank you Marsha_R 

    I found out that he confused JScript with Javascript and created all projects in JScript so my scripts were not getting aligned with his scripts. I had to create a new suite with Javascript and now the new scripts are working OK.