Forum Discussion
Application under test is in the same initial conditions.
The same test works fine in TestComplete.
The same test (using TestExecute) are launched on the different machines. There are not the same error, but it is the same type : the DELPHI object is not present, but it is displayed on screen.
Are there several patches for theses version of testexecute?
> The same test works fine in TestComplete.
I assume you mean that there is no difference between TestComplete and TestExecute on the same machine.
> The same test (using TestExecute) are launched on the different machines. There are not the same error, but it is the same type : the DELPHI object is not present, but it is displayed on screen.
What are the different errors? Pictures help.
You say the problem is aleatory (good word!). In what way? Does the problem sometimes appear and other times not appear? Or does is always appear but show different errors?
What application are you testing? How is it built?
- ChrisPro9 years agoContributor
It seems that there is a problem of TestComplete/TestExecute cache. So, some objets are not present, because no refresh is done.
What is the code in JSscript to refresh TestComplete/TestExecute cache?
- Colin_McCrae9 years agoCommunity Hero
- ChrisPro9 years agoContributor
Thanks.
1/
I do :
Sys.WaitProcess("MyProcess", 1000, MyIndex).Refresh
It works better, but there is again problem sometimes.
Is it better to do :
Sys.Refresh()
?
2/
In list of objet, there are :
Sys.Process("MyProcess").Window("TfrmMain", "***", 1)
instead of :
Sys.Process("MyProcess").VCLObject("frmMain")
Why the difference?
Related Content
- 4 years agoMadGrb
Recent Discussions
- 6 minutes agomayuridhar245
- 18 hours agoMW_Didata