DelphiScript runtime error on: .GetColumn('name').Index
Hi SM-TestComplete Community, First of all, here are some general info: --- TC language: DelphiScript Testcomplete Version: 14.20.2175.7 x64 OS: MS WIN 10 Pro 64-bit The AUT (Desktop) is built in Delphi 7. --- The object UT is a grid (inherited from TCustomGrid) and we want to get the column index like .GetColumn('name').Index + 1. 1. As we run the single script, it doesn't raise any exception, it works well. The single script is of course one of a more complex test project. 2. But when we run the whole project then we got (see attached *.jpg) this DelphiScript runtime error Exception. 3. But this is further to consider: when we call exactly the same script in another TC-project in order to perform the foreseen actions (on the exactly same grid), in this case it doesn't raise any runtime exception. This is the main aspect we wish to clear. The AUT (Desktop) is exactly the same. In the attached file (*.jpg) you can see some more details of the our DelphiScript and runtime error. Many thanks in advance and have a nice day Best regards Antonini E.Solved1.8KViews0likes8Comments