ContributionsMost RecentMost LikesSolutionsRe: How to always Search (Shift+Ctrl+F) ih "Project Suite"? As of now this is not possible. I also find this very annoying Re: Log messages listenning in .NET Yes, I'm not an c# expert with testcomplete but I think this will work. if not please dm me we can investigate this further using System; using TestCompleteIntegrationNamespace; // Replace with the actual namespace of your TestCompleteIntegration library public class TestCompleteIntegrationObject { private ITestCompleteCOMManager TestCompleteManager; private ItcIntegration IntegrationObject; private object TestCompleteObject; private const string TCProgID = "TestComplete.TestCompleteApplication.14"; public TestCompleteIntegrationObject() { this.InitializeTcObject(); if (IntegrationObject != null) { // Subscribe to integration events IntegrationObject.OnLogMessage += IntegrationObject_OnLogMessage; IntegrationObject.OnWarningMessage += IntegrationObject_OnWarningMessage; IntegrationObject.OnError += IntegrationObject_OnError; IntegrationObject.OnInfoMessage += IntegrationObject_OnInfoMessage; } } public void InitializeTcObject() { try { TestCompleteObject = Marshal.GetActiveObject(TCProgID); } catch { try { TestCompleteObject = Activator.CreateInstance(Type.GetTypeFromProgID(TCProgID)); } catch (Exception ex) { Console.WriteLine(ex.Message); Console.WriteLine("Unable to initialize TestComplete."); } } if (TestCompleteObject != null) { TestCompleteManager = (ITestCompleteCOMManager)TestCompleteObject; IntegrationObject = TestCompleteManager.Integration; } } private void IntegrationObject_OnLogMessage(string message) { // Handle log message here // You can collect and format the messages as needed } private void IntegrationObject_OnWarningMessage(string message) { // Handle warning message here } private void IntegrationObject_OnError(string message) { // Handle error message here } private void IntegrationObject_OnInfoMessage(string message) { // Handle info message here } } Re: Log messages listenning in .NET To listen to and collect all messages generated by TestComplete projects through IntegrationObject in your .NET code, you can follow these steps: IntegrationObject Setup: Ensure that your TestComplete project is properly integrated with IntegrationObject for communication with .NET code. Event Handlers: IntegrationObject provides event handlers that allow you to capture different types of messages. For collecting all messages, you can use the following event handlers: OnLogMessage : This event is triggered whenever a log message is generated in TestComplete. OnWarningMessage : This event is triggered for warning messages. OnError : This event is triggered for error messages. OnInfoMessage : This event is triggered for informational messages. Subscription: In your .NET code, you need to subscribe to these event handlers using delegates or event handlers. Here's an example using C#: using SmartBear.TestLeft.TestObjects; using SmartBear.TestLeft.TestObjects.Log; // Instantiate IntegrationObject IIntegrationObject integrationObject = new IntegrationObject(); // Subscribe to log events integrationObject.OnLogMessage += IntegrationObject_OnLogMessage; integrationObject.OnWarningMessage += IntegrationObject_OnWarningMessage; integrationObject.OnError += IntegrationObject_OnError; integrationObject.OnInfoMessage += IntegrationObject_OnInfoMessage; // Event handlers private void IntegrationObject_OnLogMessage(string message) { // Handle log message here // You can collect and format the messages as needed } private void IntegrationObject_OnWarningMessage(string message) { // Handle warning message here } private void IntegrationObject_OnError(string message) { // Handle error message here } private void IntegrationObject_OnInfoMessage(string message) { // Handle info message here } Script example is made with Chatgpt. Message Collection and Formatting: Inside each event handler, you can collect and format the messages according to your requirements. You might want to store them in a list or log file for future reference. Be sure to pay extra attention to formatting to ensure the information is presented correctly. Re: TC says browser extension is not installed but it is Can you confirm that the extension is running in your task manager? if it is not running and you've installed it try a restart of your system. Re: Convert a string to an Object. Hello Perton, You can take a look at this blogpost by smartbear: Working with Microsoft Excel Files | TestComplete Documentation (smartbear.com) Maybe assign that cell value to a variable? to use it further in your tests. also another Link that I found usefull when creating tests and using excel is: (2) TestComplete: Write data into Excel (step by step) | LinkedIn Re: Email notification for failed testcases in Testcomplete Hello Balakumarm, I've been looking through the documentations for you but I cannot find anything about aqUtils.Email. aqUtils Object Methods | TestComplete Documentation (smartbear.com). also maybe take a look at this: Sending Email From Scripts | TestComplete Documentation (smartbear.com) Re: Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment Hello, To assign data to keyword test variables, you should use the appropriate TestComplete keyword operations rather than direct JavaScript assignments. Here's the correct approach to populate a keyword test table variable: Create a keyword test and define a table variable in it. Let's assume the table variable is named "MyTable". In your script, you can access the keyword test and the table variable as follows: // Get a reference to the keyword test var keywordTest = KeywordTests.Test1; // Replace "Test1" with the actual name of your keyword test // Assign data to the table variable keywordTest.Variables.MyTable.RowCount = 2; // Number of rows in the table // The first row keywordTest.Variables.MyTable.Name(0) = "John Smith"; keywordTest.Variables.MyTable.Age(0) = 24; keywordTest.Variables.MyTable.City(0) = "Seattle"; // The second row keywordTest.Variables.MyTable.Name(1) = "Bob Feather"; keywordTest.Variables.MyTable.Age(1) = 59; keywordTest.Variables.MyTable.City(1) = "Milltown"; Please ensure that the keyword test variable "MyTable" is properly defined in your keyword test before running the script. By using this approach, you'll be able to populate the keyword test table variable with the desired data. Remember to replace "Test1" with the actual name of your keyword test. I hope this helps! If you have any further questions or issues, please feel free to ask. Re: Appium 2.0 Thank you for your response Re: Locking image size to certain value for image comparison Good morning! Image size variations can indeed affect the accuracy of your comparisons, especially when you switch machines with different settings. However, there's a solution that can help you achieve more consistent results: image resizing. Before performing the comparison, it's recommended to resize both the old and new images to a standard size. By doing this, you eliminate the discrepancies caused by varying image dimensions. In TestComplete, you have the option to utilize its built-in image manipulation capabilities for resizing. Alternatively, if you're comfortable with Python scripting, you can leverage external libraries like OpenCV to achieve this. When resizing the images, it's crucial to maintain the original aspect ratio to prevent any distortions in the visuals. Keeping the aspect ratio intact ensures that the images retain their proper proportions during the resizing process. any questions? please don't hesitate to ask. Re: Incognito mode Or to delete the browser history. function deleteHistory() { let browser = Aliases.Sys.browser; Browsers.Item(btChrome).Navigate("chrome://history/"); let page = browser.pageHistory; page.Wait(); page.Keys("^a[Del]"); page.Keys("[Enter]"); } Reasoning why I chose the keys option instead of clicking on screen is why. for some reason I cannot click with testcomplete in the settings of chrome. But this will do the Job I'm also using this my self in my tests.