New Idea

Currently, the mouse "Drag" method drags from a starting co-ordinate a set X distance and Y distance from that starting co-ordinate.  For most "normal" drag functionalities, this is sufficient.  I even wrote some code with help from folks up here that, given a starting object and a destitination object, will drag from one to the other.

 

function dragCalculatedDistance(startObject, destinationObject) {
    var startPoint, targetPoint, dragX, dragY;
    // Drag from the center of object A to the center of object B

    startPoint = startObject.WindowToScreen(startObject.Width/2, startObject.Height/2);
    targetPoint = destinationObject.WindowToScreen(destinationObject.Width/2, destinationObject.Height/2);

    dragX = targetPoint.X - startPoint.X;
    dragY = targetPoint.Y - startPoint.Y;

    startObject.Drag(-1, -1, dragX, dragY); 
}

The problem is this...  We have a situation where we need to drag an object that is present below a table in our application to a particular cell in the table.  In that process, when we cross the lower border of the table, the table may auto-scroll down to reveal other rows.  Because the above function just drags to a calculated set of co-ordinates, the end result is that we end up dropping the object on the wrong row in the table.

 

Proposed Solution: A drag functionality for TestComplete where, instead of dragging based upon a co-ordinate distance, actually drag from one object to another... something like

 

onscreenObject1.DragTo(onscreenObject2)

where the two objects are identified onscreen objects.  This would resolve the auto-scroll because it would actually drag to the particular cell we want and not to just a set of on-screen co-ordinates.

 

Low priority change to make... and I'm open to other code that would make this work better for us.  But I think this would be "cool" as it would mean that my custom code above wouldn't be necessary any more and we could have "smart" drag-and-drop functionality.

 

 

As all supported scripting languages (except VBScript) support optional function parameters that can be set within the function body, I think that it is a good idea to make the 'Run Current Routine' Code Editor's context menu command to be enabled for both procedures and functions for all scripting languages except VBScript (where it should be left disabled for functions as it is now).

Results Display in Team Foundation Server

Status: New Idea
by campk37 on ‎10-26-2017 12:57 PM

Hello, 

 

So I love that I can run a build through TFS and send out an email with the results attached in a file. However, not everyone that would like to see these results can view and understand the email that is being sent out. Also the quantity of the tests is also in question occasionally. Right now, the data that is recorded by TFS system is very misleading. It makes you think you have only executed one tests. Ideally displaying the results overtime on the Dashboard and accurately reflecting the data within the file that states which tests have passed and which tests have failed would be ideal. 

 

The functionality that I am imagining is similar to the results display of builds and unit tests that exist in TFS today. 

 

 

User Story - 

 

As a User I want to be able to view test results by test case through the TFS Dashboard System so that I can better display the results of the tests I conduct using Testcomplete. 

Dear all,

I am facing a problem with XML checkpoints. The root-node of my XML file has an attribute in it, which reflects the date, the file was generated. I would need to skip ONLY this attribute during compare/check phase.

I cannot use the "Ignore attributes" option, as this would ignore all attributes on the file. But other attributes are relevant.

I cannot delete the node from the checkpoint (as suggested by the online help about excluding information from the comparison), since it is the root node. All other nodes would be gone as well.

 

Feature request:
An option in the XML checkpoint editor would be great: just right clicking an attribute, selecting "Ignore on check/compare".


So far, one will first need to alter the actual XML file and manually remove the attribute.

Harald

Hi,

 

For some projects there is a need to process test logs and export them to separate log files. But if the test was terminated from debugger, such test log must be skipped.

Currently there is no easy and clear way to distinguish between test that was terminated from the one that just failed during runtime.

I would like to ask for some flag or property that will make it clear whether the test was terminated from debugger or failed normally.

Frequently, I run into problems where my find()/find_child()/find_child_ex()/etc.. calls are finding the wrong objects (sometimes its hard to find uniqueness within the objects you have at your disposal). It would be AMAZING to have a 'finder' tool directly in the object browser that would allow you to pick an object to perform a 'find()' call on, give a form to fill in props and values and it would give you the object (or objects) that it is matching against without having to run any of your own code.

 

It's good to know right off the bat if your props and values are mapping to the object you expect. I could see it saving me a whole lot of time when developing test scripts.

I have over 700 test items grouped into groups and distributed across multiple test machines in a network suite, so the result log is long.

I know I can go directly to an error but it doesn't select the test item in the tree (another annoyance).

When I only have a few errors I have to step through the whole tree to find them.

 

It would be nice if there were a right click menu item in the tree to select the top level and collapse all nodes, or expand all nodes.  Then I could collapse the entire tree, do a couple of high level expansions, and easily see the failing group and test.

Our Windows application has this functionality courtesy of our DevEx tree controls.  Since TestComplete has a similar look and feel, I hope that it would be easy to add this to your existing right mouse button tree menu.

 

Thanks!

We would like to be able to capture any logs from the console or network messages so that we can provide specific network errors to our developers for any intermittent bugs that may occur which are of this nature.

Currently, while we can open developer tools and access this via the object browser to get the elements which contain the log messages, we can't do this solely via an automated run in Test Complete. Is there a way we could get this information and if not could you add a feature for getting it?

Integrate into Visual Studio Code

Status: New Idea
by Vaccanoll on ‎10-31-2017 03:04 PM

The editor in Visual Studio Code is much better than what is provided with Test Complete.  

 

This request is to integrate into Visual Studio Code for source editing and debugging.  

 

Visual Studio Code is very extendable and would provide a much better coding and debugging experience than the provided Test Complete text editor.

Dynamically adding MSAA classes, .NET assemblies, Java classes

Status: New Idea
by ‎10-12-2017 03:09 PM - edited ‎10-13-2017 04:23 PM
Currently we can not dynamically add the below via script. 

- MSAA class names
- .NET assemblies
- Java Classes via Java Bridge

The problem is we share script files which perform functions using the above however we will have to manually add all of the above to each project we use. Very tedious.

Can we please allow the dynamic addition of the items above via script? That will allow us to e.g. use this excellent script from Smartbear
https://support.smartbear.com/articles/testcomplete/testing-pdf-files-with-testcomplete/
 
in all projects without us having to define (in the above case) the required Java Classes in Project Properties > Java Bridge > Java Classes, etc each new Project.
 
WORKAROUND ALERT!
 
I have a workaround for this but still not ideal. You can setup a Project with the MSAA classes, .NET assemblies and Java classes already defined. Then set it aside. Then when you need to use any of that functionality you use this as a source project TO CLONE. On cloning all those configurations come across.
 
 

We would love for the ability for keyword tests to have the ability to run functions found inside of objects.


For example: 

var Login = {
  Positive: function(username, password) {
    //Run code here
  }
}

However, the script routine can not find the Login.Positive function.

It would be extremely useful for us if it could.

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.

Test groups are great for grouping test items that depend on each other for them to work. However if one of the test items in the group fails the entire group should fail and the test should move on to the next group.

Support for JFace TreeViewer with columns

Status: New Idea
by rajeshr on ‎10-02-2017 04:05 AM

Right now TestComplete supports this control as a Tree. However with the control containing columns(it is a hybrid of Table and Tree controls), getting all the column details for a specific tree item is very tedious. It would be very helpful if this control is supported as a Table as well.

Attaching the control's documentation:

http://help.eclipse.org/kepler/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widg...

 

Upon looking into this documentation found that GetItems method can used to retrieve all the root level tree-items. I think TestComplete can use this method in supporting this control(Like how its supporting JFace TableViewer).

 

Attaching the sample screenshot of the control:

TreeViewer with columnsTreeViewer with columns

Test Report summary export to Excel format

Status: New Idea
by abinash11 on ‎06-19-2017 08:22 AM

Currently, once the tests are executed in TestComplete, we can export the results and the summary into MHT format but not in Excel. Getting the results in Excel is a basic need in most projects where you have to report the results based on the number of tests run including the Passed and the Failed tests.

 

If not Excel, at least a CSV format should be good to start with.

Add User Editable Notes/Comments To Test Log

Status: New Idea
by ShaunMT on ‎07-27-2017 09:18 AM

I'd like to have a user editable column on the test log for notes or comments on the test log so that I can enter notes about any errors occurred once I've researched the issue after test execution.

 

Personally, I hate the new feature in 12.30 "Smarter auto-formatting. When you type a bracket or a quotation mark, the Editor now automatically inserts the corresponding closing bracket or quotation mark."

 

Please see community post for more details: https://community.smartbear.com/t5/TestComplete-General-Discussions/TestComplete-editor-turn-off-ins...

 

I would love to have an option to shut this off.

I have a ProjectSuite with multiple projects in which keyword-test-routines of one project are referenced in multiple other projects. If an original keyword-routine is renamed, there is no other way but to remove and then readd the references after which all usages of these references in actual tests have to be found and replaced with the renamed references as well - needless to say, that this is always a quite hideous task.

 

It would be very helpful if renaming a keyword/script would also rename all references and all places where they are used.

The Aliases already get fixed in keyword tests if you change them, not including if statements that use aliases and set variable value statements.

It would come in handy, if this feature would be adapt to those elements too.

Remap Scriptnames if they get changed

Status: New Idea
by Lagencie on ‎10-16-2017 12:57 AM

When you rename a Script in your Project, it doesn't update the links where it is used (keyword tests that use the script).

As the functionality of a script may change at a point in the development process you might want to adapt the name to fit more accurate - in this case it wouldn't be good if you have to manually adapt all testcases that use the script.

Suggest Product Idea
We need your help! This is your space to provide suggestions for features or improvements for SmartBear products. Let us know what you think, or how we can help improve your experience with TestComplete.
Top Kudoed Authors