Contributions
Object checkpoints - modifying
I would like the ability to be able to modify an object checkpoint using the wizard, instead of having to manually add items. In my example, I use the object browser to verify html tables and if the row count increases, I either need to manually add the row and cells in the verification point (object) or I need to re-create it.3.2KViews0likes1CommentWould like the ability to save TestComplete project via jscript
I am currently using project persistent variables and I have scripted so that I can change the local values at runtime using jscript. The problem is, the values do not save. I asked support for the ability to save the project in script, but they said it was not available.2.3KViews1like2CommentsUsing aqFileSystem.Exists("Path") - TestComplete cannot find C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1
If you create a folder in C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1 and use aqFileSystem.Exists("Path") (replace "Path" = C:\Windows\System32\config\systemprofile\AppData\Roaming\folder1 and TestComplete will return back false. Folder Security: SYSTEM and Administrators with all permissions = Allow (except Special permissions).6KViews0likes1CommentHow to execute command line statement (dir) and return the value
I have a dir statement that I would like to run via Jscript. I would like to call the cmd.exe process and then execute this statement: dir /a /s c:\ |find /c /v "". Here is my sample code, but I can't figure out how to get it to work: var WScriptObj = Sys.OleObject("WScript.Shell"); // Ping the server var ExecOperation = WScriptObj.Exec("cmd /c dir /a /s c:\ |find /c /v \"\""); // Check the operation's status while (ExecOperation.Status == 0) Delay(100); // Obtain the operation's exit code var ExCode = ExecOperation.ExitCode; // Obtain the application's StdOut stream var StdOut = ExecOperation.StdOut; if (ExCode == 0) Log.Message("Connection succeeded", StdOut.ReadAll()) else Log.Error("Server is unavailable", StdOut.ReadAll())23KViews0likes3CommentsDon't understand how to configure license server and register other testcomplete versions using floating licenses
Hi there, I am in a rush as my demo license will expire on my VirtualMachine. We have purchased 2 floating licenses of TestComplete Enterprise. I installed the License Manager and registered it with the only key from the email after we purchased. The license manager was fine and then I Installed TestComplete on the same PC and used the same license to register it. That worked fine. When I go to my VM (on the same computer hosted), when I try to register it using the same key I get an error. I have no clue what to do now. Please help>21KViews0likes1Comment