ContributionsMost RecentMost LikesSolutionsRe: TestComplete and 2x TestExecute on a Virtual Machine Apparently it can work, at least using RDP wrapper, and also some other options seems to be available. I will let you know what I'll succeed with this setup. Re: TestComplete and 2x TestExecute on a Virtual Machine Yes it is correct. On the same virtual machine, 2 TE and one TC installed under different users. I haven't asked why, this is what the customer asked for. As I said, is probably related to minimizing the resources. Re: TestComplete and 2x TestExecute on a Virtual Machine Thank you, RRaghvani, As I mentioned to Marsha, it is my fault that I didn't mentioned about the fact that each instance of TE or TC will be installed on different user on the same virtual machine. The advantage of this setup, I guess, is that customer will pay the license for a single OS, and allocate to this a single machine. The reason of several users connected at the same time, is to give each user the option to run its own suite tests. TC instance will be useful, if a user need to modify its scripts, not necessarily the scripts running with TE. Re: TestComplete and 2x TestExecute on a Virtual Machine Thank you, Marsha, In did, I should give more input on this, and an important one is that each TE or TC instance will be installed on different user account. No, it is not a load test, but it is a customer request; I guess it is about minimizing the resources. If I would be able to create that specific environment I will definitely try. TestComplete and 2x TestExecute on a Virtual Machine Hi, I would like to install two TE instances and one TC instance on the same VM with Windows10 as OS, all three apps with SmartBear's floating licenses. Does anyone know if it would be possible to edit/run the scripts with TC and in the same time run other scripts on both TE instances? The second concern is about running TC and TE on the same VM, with two different user in the same time. Anyone is aware about an incompatibility of TC and TE running on the same VM? Thank you! Re: ListView - GetCell() method I've finally succeed. It took more than a month to figure out how is working: with Alex's last suggestions I've reached dotNET node. But even from dotNET node is not easy to get the instance of ItemTextEventArgs, using TestComplete manual (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/net/creating-class-instances.html), which doesn't work with my tested application. So, what does saved me was TestComplete message error, which was clear stated that itcannot convert the variable I was using to type 'Framework.UI.ItemTextEventArgs'. Later and by chance, I found this instances under dotNET node. So, this is how the function should look like: SelectedCellText:=ListViewdObj.GetCell(ListViewdObj.HeaderItems.Item[columnNo],lineNo,columnNo,Sys.Process('YourApplication').AppDomain('YourApplication.exe').dotNET.Framework_UI.ItemTextEventArgs.zctor(),'Excel'); and it works for me(with Delphi script and TestComplete 14.91.341.7 x64). Now, SelectedCellText will be an object and the cell value will be SelectedCellText.OleValue Thank you! Re: ListView - GetCell() method I did, Alex. The trouble is with the TextEventArgs parameter. For them is easy to define it with C#: they simply instantiate the class ItemTextEventArgs tea = new ItemTextEventArgs(); From as far as I know, this cannot be done within TestComplete. In fact I couldn't find this object ItemTextEventArgs, starting from VList object. The closest object that seems to have something in common with ItemTextEventArgs() is cachedLayoutEventArgs, which is always (Null Object). I'll keep on looking for. Re: ListView - GetCell() method Thank you, Alex. It doesn't like it. It will throw an "Unknown error". In fact I've tried quite a few combinations and this is the most "friendly" error I could get. ListView - GetCell() method Hi, I'm using TestComplete Version: 14.90.432.7 x64 with DelphIScript. The tested application is developed with C#. Does anyone used GetCell method for a ListView control? The function format get it from Object Spy is: function GetCell(Framework.UI.HeaderItem; line : Integer; column : Integer; Framework.UI.ItemTextEventArgs; PrintContext : SystemString) : System.String; While I did figured the first three parameters, for the last two(Framework.UI.ItemTextEventArgs; PrintContext : SystemString) I cannot see where can I find them, they are not straightforward methods within ListView Object Spy. I can give you a clue from a similar method function for the same control, which is GetCellNumericValue(Framework.UI.HeaderItem; line : Integer; HeaderIndex: Integer; bWasException : ref System.Boolean) : Real; I have successfully used this one and indeed returns only a number: for instance, if you use it on a ListView column with strings, it will return value 0, while for a column with numbers, it return the number at the specified position within ListView's table. A real example is this one: ListViewdObj.GetCellNumericValue(ListViewdObj.HeaderItems.Item[4],2,4,False); Thank you. SolvedDeclare and initialize a global variable Environment: TestComplete 14.30.3743.7 x64 with Delphi script At function level a variable can be declared and initialized at the same time: the syntax is as follow var i:integer=8; Using the same syntax for a global variable will lead to a TC syntax error. Does anyone know if it is possible to initialize a global variable with a default value? or, is this allowed within the above mentioned environment? Solved