Showing ideas with label Keyword Tests.
Show all ideas
everytime you open a keywordtest the project tree jumps to its location. if you have many many items in your tree it can be really annoying because you have to scroll and scroll. would be nice to have an option to disable the automatic behavior and use manual expansion (if needed).
... View more
See more ideas labeled with:
-
Keyword Tests
Status:
New Idea
Submitted on
01-16-2019
08:23 AM
Submitted by
RUDOLF_BOTHMA
on
01-16-2019
08:23 AM

Edit: Added a specific Use Case for clarity
Like most users I use parameters for my KWTs. Some parameters have a limited option pool e.g. paramater "WantACookie" can have 3 and only 3 values "Yes", "No" and "Not Sure" This parameter is used to set the text of a combobox. I could create it as a string that correlates with this and each other KWT or script that calls this KWT just needs to send the string. Say, however the the marketing department decided that "Not Sure" is no longer broadcasting the right message and want to change it to "I'm Thinking About It" All those other scripts and KWTs that used to set it to "Not Sure" will break. Is it possible to create the parameter as a list of key->value pairs. That way my other KWTs and scripts can say the vaule should be WantACookie.NotSure and all I have to do is go to my KWTs WantACookie paramter and change the value of the "NotSure" key to "I'm thinking About It" You would probably have to define this KVP list in the parameter type itself I guess and when setting properties in the visual editor, this "Enum" should be available the same way Variables and Parameters are from a dropdown.
A specific Use Case:
The Enum is a way to define a limited amount of set options that you know won't change
Say I'm an e-commerce site. I wan't to make sure users don't have a bad experience by accidentally buying something when they intended to just add it to the wish list. Three tests:
1. Textbox1.Keys()->Textbox2.Keys(),texbox3.Keys,etc,-> buttonPlaceOrder.Click() -> Open Wishlist page -> Are ther items ? No -> Pass -> Open Basket -> Are there items? Yes ->Pass
2. Textbox1.Keys()->Textbox2.Keys(),texbox3.Keys,etc,-> buttonAddWishList.Click() -> Open Wishlist page -> Are ther items ? Yes -> Pass -> Open Basket -> Are there items? No ->Pass
3. Textbox1.Keys()->Textbox2.Keys(),texbox3.Keys,etc,-> buttonCance.Click()l -> Open Wishlist page -> Are ther items ? No -> Pass -> Open Basket -> Are there items? No ->Pass
All three tests have the data populate in common. I don't really care what data is in there and I won't use it in a Data Loop so it can all be the same and be written into a single test so I don't have to duplicate all those .Keys() and .Clicks() into all my KWTs So, create one KWT PopulateOrder that does the keypresses.
One step further I can see the only thing that distinguishes the process is what button gets clicked. If I specify this as a parameter like PopulateOrder(OrderAction) I can change my tests to this by simply dragging the new KWT into my visualiser :
1. PopulateOrder(Order) -> Open Wishlist page -> Are ther items ? No -> Pass -> Open Basket -> Are there items? Yes ->Pass
2. PopulateOrder(WishList) -> Open Wishlist page -> Are ther items ? Yes -> Pass -> Open Basket -> Are there items? No ->Pass
3. PopulateOrder(Cancel)->Open Wishlist page -> Are ther items ? No -> Pass -> Open Basket -> Are there items? No ->Pass
The last steps in my Populate order is an if statement:
If(OrderAction equals "Order"){buttonPlaceOrder.Click()}
If(OrderAction equals "WishList"){buttonAddWishList.Click()}
If(OrderAction equals "Cancel"){buttonCancel.Click()}
If I drag the KWT into another KWT I can supply this parameter. Problem is, if a user doesn't know the exact string required and they type in, say "PlaceOrder", the KWT will fail because none of the if statements match. If on the other hand I can define the parameter as an enum that the user can choose from a dropdown I know the logic will always work e.g.
if(OrderAction equuals OrderActionEnum.Order) {buttonPlaceOrder.Click()}
It's something I would really have appreciated when I started using TC. It would have helped standardise my tests by always having the option based parameters defined, thereby avoiding loads of rework due to early inexperience. It still helps because I wouldn't have to open the PopulateOrder just to double check what string I need to send.
... View more
See more ideas labeled with:
-
Data-Driven Testing
-
Keyword Tests
-
Visualizer
Status:
New Idea
Submitted on
01-16-2019
07:13 AM
Submitted by
RUDOLF_BOTHMA
on
01-16-2019
07:13 AM

Hi,
I regularly manage to have enough KWTs, scripts and project tabs open to make the tabs run into a second row. I find though that at any given time there's only 2 or 3 I use intensively at a time. For example, I have a test keywordtest for experimenting with new scripts. Each time I open a script to debug or step through that tab gets pushed out until it ends up on the second row of tabs and I have to search for it again - repeatedly. What would be awesome is if we could say, decide three tabs are used very intensively at the moment and are important to have them within easy reach, please always keep them leftmost in the tabs. I know there is right click=>default docking in Workspace, which appens to move it to the top if it's already tabbed, but as soon as I decide some other tab is more important, default docking in Workspace kicks all the tabs all over the show again and I have to redo the docking. Just a plain "Pin" and it always stays there and "Unpin" and it can go where it wants again would suffice.
Regards,
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Visualizer
-
Web Testing
Status:
New Idea
Submitted on
12-01-2016
10:16 AM
Submitted by
tristaanogre
on
12-01-2016
10:16 AM
Runner.CallMethod works pretty well with regards to running Keyword tests. You can do a syntax like:
Runner.CallMethod('KeywordTests.TestName.Run', 'parametervalue');
However, this is a bit clunky to me. First of all, if you don't have the name up front but want to parameterize this call, you would need to do a concatenated string for the object name. Secondly, this just seems to be a bit out of the way. Code Completion already knows all the tests associated with the KeywordTests object so the information is already there.
It would be nice to do something like
KeywordTests.TestByName('MyTest').Run('parametervalue');
This just seems more intuitive and lends itself to a much cleaner implementation for creating a framework around the tests.
Note that I'd prefer the keyword test to be returned by name so that we have access to things like Test.Variables and Test.Parameters (see my other ideas on KeywordTests).
... View more
See more ideas labeled with:
-
Data-Driven Testing
-
Keyword Tests
Status:
New Idea
Submitted on
12-01-2016
10:24 AM
Submitted by
tristaanogre
on
12-01-2016
10:24 AM
If you're running a keyword test via script, especially in a data driven environment where the data dictates which test to execute, it would be useful to be able to get a count of the parameters on a keyword test. Currently, for any keyword test, you have access to the Parameters object for the test and then just each parameter individually. There is not a way to iterate through those parameters and assign values prior to execution nor is there a way to simply get a count of the parameters so you can build your parameter list to pass to the Run method.
It would be nice if, on a per test basis, you have access to something like KeywordTests.MyTest.Parameters.Count and even some way of iterating through the collection to set the values prior to test execution... something like going through all the parameters, setting the values, and then just executing "Run"...
The idea behind this, again, is to make implementing keyword tests in a data driven framework easier. With the above changes, you can add parameter values to a keyword test in a more generic way. A framework developer could then (if the KeywordTest by name feature gets implemented), find a keyword test simply by name, assign parameter values to the keyword test straight from data without foreknowledge of the test ahead of time, and execute the keyword test. A much more generic and dynamic automation framework could be created then to integrate keyword tests more fully into a data driven structure.
... View more
See more ideas labeled with:
-
Keyword Tests
Status:
New Idea
Submitted on
12-01-2016
10:08 AM
Submitted by
tristaanogre
on
12-01-2016
10:08 AM
One of the beauties of Script Extension Runtime Objects is that you can create code that is shared across ALL projects without having to include the code units in the projects themselves. I am involved in the process of creating a detailed test automation framework where a good bit of the framework code is encapsulated in script extension runtime objects.
However, one of the drawbacks I've run into is that, if the framework needs to execute a Keyword test instead of simply a Script routine, the code cannot reside in the extension. Currently, Script Extensions do not support the KeywordTests object and all the methods and objects underneath.
It would be nice to be able to execute KeywordTests within script extensions so I'm formally requesting the ability to do so.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Script Extensions
it is not possible to work with multiple keywordtest-logs at the workspace. if you have one opened and opens another one, the first opened one will disappear.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
Hi, when I add parameters to keyword tests, in some cases the default value would correspond to a Project (Suite) variable. Currently, I have to set a local variable and build an if clause like "if parameter not given set local variable value to project variable value".
... View more
See more ideas labeled with:
-
Keyword Tests
Would like the ability to pass a variable value into a database checkpoint custom query. E.g. be able to store a case reference that will change each time and add that into the custom query so when calling the database its finding the specified record
... View more
See more ideas labeled with:
-
Data-Driven Testing
-
Keyword Tests
-
Web Testing
We are working to update our software to .net 6. On a test branch I tried my existing tests a found out that action clickbutton is no longer supported with the .net 6 release. Other actions might also be affected, but to change all tests that use clickbutton to use a similar action is a lot of work. Using replace all in a text editor might work, but editing outside of testcomplete does not seem that great of an idea.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Test Results
Hi, I think it would be really helpful, if Group/Subgroup folders would have an ability to repeat their content by a defined number of times. Basically, the same as existing Cycle option for Test modules. I have a scenario, where I need to perform the same steps "n" times, just with different input data. The only solution now, is to create the basic structure of steps inside a Group folder and then copy and paste the Group folder "n" times. I consider this approach pretty ineffective. Check this screenshot... If there would be a Count option at the Group level, it would allow me to perform the required steps with just single CreateAsset group, instead of 4 of them. True, group folders currently does not support the data driven approach as well. But I believe I could easily fix that by a simple script, which would get the required data from CSV or similar file and fill them for each Group iteration run (based of actual iteration number, using Project TestItemObj.Iteration). What do you guys think?
... View more
See more ideas labeled with:
-
Keyword Tests
Hi, Please add an option in settings to disable adding of index after Copy/Paste of test item in Execution plan. I'm often copying/pasting multiple tests or whole folders in the Execution plan. However, after Paste, all pasted test items are automatically indexed. I first thought, that it's because there cannot be multiple test items with the same name. But it does not seems to be that case? I can easily rename the test item back to its original name, by deleting the index. But it's quite annoying in case of multiple test items. So an option in settings to disable this behavior would be really great. Thanks.
... View more
See more ideas labeled with:
-
Keyword Tests
as an example I made a few keywordtests that calculated certain dates. now in my project explorer there is no way to know where this test is being used. I try to use test parameters for a lot of things to reuse the tests in other places. that way i dont rewrite teststeps multiple times The same for Script functions. if i want to know where this function is being used it would be nice to see where this test/script is referenced.
... View more
See more ideas labeled with:
-
Command Line
-
Keyword Tests
-
Test Results
-
Web Testing
We have aN existing project whose NameMapping uses the method "Identification properties" to identify the Objects we want to convert its NameMapping to "CSS/XPATH". We have found an option to activate the "CSS/XPATH" option via the existing project properties but if we activate it, all Tests that use the method "Identification properties" will all fail and we will need to fix all the testcases (we have about 750 tests). Also, we found this suggestion in community (https://community.smartbear.com/t5/TestComplete-Questions/Converting-an-old-project-to-CSS-XPATH/m-p/211613) but it didn't work for us because the code base for that feature, from the community article, was only made for version 14.72 ( and our version is 15.40) as mentioned by your Customer Care Engineer Sean ONeil in the case sent Case #00539513. Suggestion: Can you please enable the same feature in the cummunity article (https://community.smartbear.com/t5/TestComplete-Questions/Converting-an-old-project-to-CSS-XPATH/m-p/211613) for all versions including version 15.40? because it will really save our project. Thanks.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Name Mapping
-
Web Testing
We need a feature were you can configure on the project or on the keyword test, that if the execution results on a failure, email the test result to an specific email. It will help a lot to be up to date on the tests results.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Mobile Testing
-
Test Results
Hi, It seems that in some cases, there is missing Aliases section in Select Object dialog. It's available in case of Selecting elements for OnScreen actions, but it's missing if Select Object is invoked via Edit Parameters.dialog and Onscreen Object mode. It would be really helpful to have the Aliases section (with Search) also in this particular case... Thanks.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Name Mapping
Hi, It would be useful to have an option to highlight objects found by Find methods and displayed in Locals and Watch List. See the attached screenshot with suggested addition.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Web Testing
Currently it is possible to link a TestComplete test to a Test Case in Zephyr Squad. However, a Test Case can be made up of multiple Test Steps and there is currently no way to associate a TestComplete Test to one of these Steps. It would be far more useful in our use of these tools if we could link to a Step.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Test Results
Hi, At the moment, Name Mapping selectors could be variabilized only by using Project variables. Unfortunately, this is very limiting approach. For example, I want to create a single-purpose module, which will be used at multiple places in my test execution plan and which should click a button of certain (variable) name. Therefore, I want to pass the name of button, via module Parameter, defined in Test execution plan, instead of defining huge list of Project variables. Not to mention it would be impossible to assign multiple button names to the same project variable name. Or is there another approach? Thanks.
... View more
See more ideas labeled with:
-
Data-Driven Testing
-
Desktop Testing
-
Keyword Tests
-
Name Mapping
A search bar that lets me search for keyword tests. At the moment I have to: Open any keyword test Drag in "Run keyword Test" Search for a Keyword Tests Select it Right-Click open Test Switch to the first Test that I used to search delete the new "Run Keyword Test" that I just created This is really annoying that this is not yet a feature and it would be so simple it implement. Mockup:
... View more
See more ideas labeled with:
-
Keyword Tests