Working in TestComplete while an NetworkSuite-Job is running
I got one license for TestComplete and one license for TestExecute on a remote machine. When i´m executing in TestComplete a NetworkSuite-Job on the remote TestExecute i can´t work on my KeywordTest/Scripts/ect. while its executing. (The strange thing is: i can open KeywordTests, i can add other tests to it but i can´t delete these - so why?). So my idea is just an call-for-action: Please make TestComplete workable, while it´s executing remote things!17KViews22likes14CommentsVideo Recording of Test Execution is Easy
Hi folks! My name is Alexander Gubarev, and I'm one of the QA engineers who are responsible for the TestComplete quality. Today, I want to share the VideoRecorder extension for TestComplete with you, which I hope will be helpful in your job. This extension enables you to record videos for your automated tests running in SmartBear TestComplete or TestExecute. It records a video for your test runs helping you to check the test execution and to understand what happened in your system and in the tested application during the test run. All of us know, sometimes, it is really difficult to find the cause of issues that occur during nightly test runs. Videos can help you with this. The extension adds the VideoRecorder script object for starting and stopping video recording from your script tests, and the Start and Stop Video Recording keyword-test operations for doing this from keyword tests. Start using the VideoRecorder extension is easy - you simply need to install the extension on your computer and add call of it from TestComplete. INSTALL VIDEORECORDER 1. Download the VLC installer from https://www.videolan.org/. 2. Install the VLC media player on your computer. The installation is straight-forward. Just follow the instructions of the installation wizard. 3. Download VideoRecorder.tcx (it's attached to this article). 4. Close TestComplete or TestExecute. 5. Double-click on the extension and install it in TestComplete or TestExecute. USE VIDEORECORDER 1. In Keyword Tests Add the Start Video Recording and Stop Video Recording operations at the beginning and at the end of your test. You can find these operations in the Logging operation category. 2. In Scripts Use the VideoRecorder.Start() method to start recording and VideoRecorder.Stop() to stop it. Code example: //JScript function foo() { // Start recording with High quality VideoRecorder.Start("High"); //Do some test actions //…. //Stop recording VideoRecorder.Stop(); } Find the recorded video in your project folder – the link to it is located in the Test Log panel. FULL DOCUMENTATION https://github.com/SmartBear/testcomplete-videorecorder-extension/blob/master/README.md WANT TO IMPROVE THE VIDEORECORDER? We put this script extension on GitHub, so you can take part in its development. Feel free to make pull requests which can make this extension better: https://github.com/SmartBear/testcomplete-videorecorder-extension LATEST VIDEORECORDER VERSION Also, to make sure you have the latest version of the script extension, you can download VideoRecorder.tcx from the GitHub repository: https://github.com/SmartBear/testcomplete-videorecorder-extension/releases/latest9.6KViews11likes27CommentsNetwork Suite Jobs: Keyword-Test selection
Hi, i use TestComplete and TextExecute on a remote machine. In my TestComplete workspace i got many Keyword-Tests. Now i want to add multiple tests to the Jobs in the Network Suite but i can only select one test at once and it takes its time until the test is loaded from the remote TestExecute into the NetworkSuite.Why it took so long to choose and load a test for a NetworkSuite Job? I want to quick add multiple tests to the Job list without waiting after each new test added. It should be possible to drag and drop the KeywordTests in TestComplete to the NetworkSuite Job list. Furthermore i didn´t understand the behavior of the remote test selection window. There is no directory hierarchy like in the project workspace and i have to scroll across a large list of test and the next bad thing: the lists isn´t sortedalphabetically. Searching the right test in a list withover 200 KeywordTests without directory structure or sorting function is a time-killing job :) Hope you will find a better way for this. Long live the softwareergonomics!8.4KViews5likes5CommentsExtracting the data from Grid-table(Windows Application) using Python
Actually I need to get total values of a single column present in the Grid Table .So firsti used the below code for getting the count of Child Items and Names of it which are in the Grid Table. def grd (): Grid = Aliases.teacher_debug.frmMain.dxDockSite.TdxDockPanel.frmListDealNav.TdxDockSite.TdxLayoutDockSite.TdxDockPanel.frameList.grdGridFrame.TcxGridSite if Grid.Exists: Log.Message(Grid.Name,Grid.FullName) for i in range (0,Grid.ChildCount): countchi = Grid.Child(i) Log.Message(countchi.Name,"",0) and the OutPutwas Window("TcxGridSite", "", 1) Am not able to understand what went wrong please guide meSolved7.6KViews0likes53CommentsTestComplete 11.0 - Memory Issue
Environment Details: Windows 7, 64 Bit, 8 GB RAM TestComplete 11.0 Project Details: Used NameMapping Approach Defined All object references in one script file as Global Variables. There are 3000+ Variables. Reading and Writing Data from Excels Problem: When i open my project. RAM usage is 320-340 MB When i run any of my test function RAM usage will increase to 450-500 MB If i keep on running test functions RAM usage will increase to 800+ MB This is making my test execution go slow and crashing application under test. Anybody faced this kind of issue ? Why RAM usage will be increasing every time ? Is there any memory leakage ? Why after execution RAM usage is not coming to normal ?5.4KViews1like18CommentsLabelling/Categorising Tests
It would be useful for me if TestComplete supported labeling (or categories) for tests. Most of my tests are regression, however some are security/permissions tests. The permissions tests are long running and I wouldlike to clearly identify them as such using a label or category. Itcould then be possible to run all tests with a particular label or category in a project that would usually be disabled on a standard test run.5.2KViews7likes6CommentsTestComplete returns NULL from Excel in Property Checkpoint, but returns Correct value in Jscript
I am using the PropertyCheckpoint to verifya value from UI with a value from an Excel. Thecheckpoint returns a NULL value from the Excel, but when i use a script to do the same, i get the correct value. Pleaselet me knowwhat the issue is. P.S: This is just one of themany "irregularities" i have found in TestComplete. Willbring them upwhen i get time.Solved4.6KViews0likes9CommentsIs there any kind of functionality to skip test items/unnecessary waits (I.e. Alt+Right/Ctrl+Right)?
My company only uses one license for TestComplete that I watch over and since I already am watching the tests I was wondering if there was any functionalitywith TestComplete (I.e. a shortcut command, Dedicated button, or option) that would allow me to skip test steps without adding extra code? (Unfortunately I know very little in terms for/with coding)I ask because sometimes our site runs slower thanusual, usually after posts and it has effected my testing, I had to input a bunch of wait commands (which is great, but not always needed on each page) but I cannot tell ahead of time when ill need to disable/enable them to smoothen test times. If anyone knows a simple command or way to skip test items or an unneeded wait, any assistance/knowledge would be greatly appreciated.4.6KViews0likes4CommentsSteps to Import Python Library in TestComplete
Hi All, Youtube - Import Python Library in TestComplete I've prepared a step to import python library using Openpyxl library inside test complete. Ref Step 1: Install python 3.6 – TestComplete 14.4 Support 3.6 Ref:https://www.python.org/ftp/python/3.6.0/ Check for Python version in Cmd : python –version Step 2: Download the python library matching the Python version.Ref:https://www.lfd.uci.edu/~gohlke/pythonlibs/ Install Numpy/Openpyxl library in the system Install in cmd line as “pip install Openpyxl” In Command Prompt type “Import Openpyxl” If you don’t get any error then the python library is installed correctly. Step 3: Navigate to default python installed location Eg: C:\Users\UserName\AppData\Local\Programs\Python\Python36 2. Copy all the files to TestComplete path Eg: C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\Extensions\Python\Python36 Step 4: Set your environment variable of python path to Testcomplete path Eg: C:\Program Files (x86)\SmartBear\TestComplete 14\Bin\Extensions\Python\ Step 5: from os import sys import sys sys.path.append(“C:\\Program Files (x86)\\SmartBear\\TestComplete 14\\Bin\Extensions\\Python\\”) openpyxl_location = “C:\\Program Files (x86)\\SmartBear\\TestComplete 14\\Bin\Extensions\\Python\\Python36\\Lib\\” sys.path.insert(0, openpyxl_location) import openpyxl from openpyxl import Workbook Ref:https://vallatestcomplete.wordpress.com/2020/06/01/testcomplete-python-library-import/ Regards Valla4.5KViews4likes2CommentsIs TestComplete compatible with FireFox ?
Hi, I'm trying to use TestComplete with FireFox 61.0.1 , but TestComplete is not recognizing the objects on screen . I applied all the recommendations mentioned inPreparing Firefox for Web Testing, but didn't work:smileysad: I even tried to install FireFox 59 and also didn't work :smileysad: And I see the same issue in Chrome ! Any help please ! Thanks RaghdaSolved4.4KViews0likes15Comments