Forum Discussion

Rishav's avatar
Rishav
Occasional Contributor
8 years ago

RE: JScript Run Time Error

Hi Testcomplete people,

 

 

 We a group of engineers from HCL Technologies are working in A windows application Automation project. We have used Temporary variables for taking the value from excel sheet. All modules , If run alone are running perfectly. But when we run the Suite as a whole, The Project is throwing a JScript runtime error  and pointing errors in line where the temporary variable values are set in code. 

 

 

Is delay a Reason for this . What should be the exact delay between events and Delay. If not please suggest your valuable opinions. 

 

 

Thanks, 

Rishav 

2 Replies

  • Need more details.  What does a module do?  Exactly what error do you get?  Why do you think that events and delays are part of the problem?

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    What it sounds like you're experiencing is one of several things:

    1) The application under test is not running in the same state as a project suite as it is when running as a project.

    2) The temporary variables are being initialized differently in the suite than they are as a project.
    3) Some other project is altering the temporary variables before the project in question hits them.

     

    In order for us to help you, we need to see more of the JScript code that you're running, how you're assigning the variables, what you are assigning them from, etc. Could you share more project details?

    Thanks!