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.7KViews11likes27CommentsTestComplete turned 20 today! Let’s celebrate!
Hello all, Twenty years ago, TestComplete was created to help software professionals ensure the quality of any application. And, thanks to your continued business, and this community’s innovative ideas, TestComplete continues to be one of the world’s most popular testing solutions, year after year. At SmartBear, we share your passion for the continuous delivery of high-quality software, and we thank you for helping TestComplete reach this milestone. Want to learn more about how TestComplete came to be and its growth over the years? Check out our latest episode of The SmartBear Founders Series? https://smartbear.wistia.com/medias/ut469hik9m1.1KViews9likes2CommentsLabelling/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 would like to clearly identify them as such using a label or category. It could 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.2KViews7likes6CommentsNetwork 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 sorted alphabetically. Searching the right test in a list with over 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 software ergonomics!8.4KViews5likes5CommentsSteps 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.9KViews4likes2CommentsBDD - Enhance step definition generation
For Cucumber steps, TestComplete doesn't generate step definition with Keyword And. It only generates steps with Given, When, & Then Keywords. This causes code duplicity. Module 1: Scenario: Check and Open app Given I have app installed on my machine And I install DB on SQL Server for "IM" And I should open app with "IM" database as "default" user Module2: Scenario: Prerequisite for app Given I have app installed on my machine And I install DB on SQL Server for "CF" Then I install Application Server on my machine "CF" with "WorkflowFeature" And I should open app with "CF" database as "default" user In the above 2 steps are the same And I should open app with "IM" database as "default" user And I should open app with "CF" database as "default" user and should have only one step definition. But TestComplete generates 2 steps definitions, one with Given And other with Then. Cucumber, in general, doesn't take keywords in consideration while doing the step matching but in TestComplete it does. This is causing the problem and creating a lot of duplicate code. We are looking for solution where TestComplete uses Cucumbers basic feature and do not consider Keywords while doing step matching and generates step definitions with all the keywords.We are looking for solution where TestComplete uses Cucumbers basic feature and do not consider Keywords while doing step matching and generates step definitions with all the keywords.1.9KViews4likes3CommentsAllow changing the device displayed by the mobile screen through script
It would be nice if we could change the device being displayed by the mobile screen through script. In my case, I'm running a group of tests in TestComplete against a specific device, and I'm taking a screen recording of the desktop at the same time. After all the tests run against the device, the same group of tests will be run again using a different device. Unless I manually change the device being displayed, the mobile screen will only display the first device selected. This limits my ability to run tests overnight since I need to change the device displayed before each device's test run.3.4KViews4likes0CommentsZephyr - Schedule Automation Testing Capability
Zephyr has the ability to execute Automation Test Runs using TestComplete or TestExecute. This is a useful platform to control test runs and import results into Zephyr. However the Vortex option on Zephyr feels a little under developed. It would be nice to have this developed further to allow the scheuling of test runs. For example:- - Run test 1 - Every Monday at 2am - Run Test 2 - On the 2nd of every money at 2am - Also include a Automation Test Run Execution list of all the jobs scheduled and a log of those executed. Is it possible to include this feature?427Views3likes0Comments