ContributionsMost RecentMost LikesSolutionsRe: Can TC show seperate logs for PASS and FAIL result in Project Logs Actual what we need is that we should be able to distinguish between the two types of failures in the output graph: 1. Failure due to any random issue (where requirement execution was interupted by some system issue). 2. Requirement failure (application under test did not work as per requirement). Can TC show seperate logs for PASS and FAIL result in Project Logs Can TestComplete show seperate logs for PASS and FAIL result in Project Logs (Summary>>Project Test Item Results)? We are able to see Sucess and Error but we want to keep error (for System issue/crashs etc.) and fail (for requirement failure) results seperately. Please provide some inputs. Table checckpoint getting failed if the table in the application gets emptyAssumptions: Tools>>Options>>Engines>>Stores>>Update Table Elements checkbox is set to true. A table checkpoint exists for table -- "TableName". Scenario1: A. 2 records exist in the table. B. Script Deletes 1 of the records. C. "Tables.TableName.Check()" inside the script works fine. Scenario2: A. Single record in table. B. Script Deletes the record. C. "Tables.TableName.Check()" failed to update. Throws error in Logs "The table checkpoint "TableName" failed." Please see to it. I want that when table gets empty, the table checkpoint should not fail, and instead return false. Because of this one thing whole script log shows as failed even if it is actually passed. thanks, RiteshRe: Calling python script from Test CompleteThanks a lot Helen! It worked :) Here is the code: function Test() { aqFileSystem.SetCurrentFolder("C:\\"); Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\test.py"); Sys.OleObject("WScript.Shell").Run("cmd /c cd C:\\ && C:\\Python27\\python.exe C:\\test.py"); } Regards, Ritesh Chauhan Re: Calling a DOS command Hi I am looking to call python script from Test complete. Is this possible? I tried this but didn't worked out for me. Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\myfile.py"); I tried to execute a sample python script via TestComplete. This script generates a .txt file. My python file: test.py Path where it is placed: C:\\ Output of this python file: test.txt I placed this test.py file in C:\ and then used below function in TestComplete: Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\test.py"); But the output file test.txt didn't get generated. Please advice. If this is not possible this way, then can I call a python script from a jscript? Means that, this jscript will be called into the test complete which in turns finally call that python script. is this possible? If still not, is there any other possible way? Looking forward to someones reply. Regards, Ritesh Chauhan Re: Calling python script from Test Complete Hello Gena, Thanks for your reply. I tried this but didn't worked out for me. Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\myfile.py"); I have attached a sample python script (its in txt format, please change this into.py as this format was not attachable) which i tried to execute via TestComplete. This script generates a .txt file. My python file: test.py Path where it is placed: C:\\ Output of this python file: test.txt I placed this test.py file in C:\ and then used below function in TestComplete as you suggested Sys.OleObject("WScript.Shell").Run("C:\\Python27\\python.exe C:\\test.py"); But the output file test.txt didn't get generated. Please advice. Regards, Ritesh Chauhan Calling python script from Test CompleteHi I am looking to call python script from Test complete. Is this possible? If not, then can I call a python script from a jscript? Means that, this jscript will be called into the test complete which in turns finally call that python script. is this possible? If still not, is there any other possible way? Looking forward to someones reply. Regards, Ritesh Chauhan How to declare constants in jscript?How to declare constants in jscript?How to declare public constants in Test CompleteHow to declare public constants in Test Complete We have tried as below: Consts test_type = "testType"; SolvedRe: Creating Scripting Objects From Application ObjectsAny suggestions?