Showing ideas with label Web Testing.
Show all ideas
TL;DR: I want to be able to set some setting somewhere that tells TestComplete to only use the "data-testid" (or any other) attribute to map objects. What is a data-testid? We have the data-testid tag on every (important) element on our webpage. This testid is used to uniquely identify an object, meaning no other object on the webpage has this testid. For example like this: <fro-input-wrapper data-testid="CONFIG.COMMON.systemName">
<mat-form-field>
<wrapper>
<input>
</wrapper>
</mat-form-field>
</fro-input-wrapper> This is obviously a very simplified version, but this is how every object looks like. So every button, every text-input, etc has this attribute. What we currently do We map our objects using XPath, since it is so much faster at runtime to find the objects. So we have only one selector for every object, since we don't need more than that. So our XPath for finding the object shown before would look like that: //fro-input-wrapper[contains(@data-testid, 'CONFIG.COMMON.systemName')]//input The issue is, that when we use the TestComplete Object Spy and hover over the Object shown before, TestComplete searches out what it thinks is best suited for mapping the object. Which is totally random and does not conform to the way we want it (like shown above) The TestComplete Mapping looks something like that.... ... Which is just some random way to identify the object. So currently what I created is a Template for every object type (inputfield, slide-toggle, button, ...) that we just copy paste and paste in the correct data-testid. This is the most elegant solution that we found and it works sort of well. But I cant think that we are the only ones using some form of testid on our object. We are thinking about switching to Cypress, since it supports data-testid with a testing-libary, but the issue is that not everyone in our team is a coder and doesn't know how to code in JS. What we want A setting to define any attribute (in our case the data-testid) that TestComplete automatically uses to map the objects. I imagine it working something like that: Using the Object Spy to hover over an object that I want to map TestComplete searches for the data-testid attribute If it doesn't find one in exactly the Object that has been selected, it searches upwards in the DOM tree until it finds an object containing that data-testid attribute. It uses to object to map the original Object that was hovered over. I don't think that this would be too hard to implement and it would greatly improve our workflow., For any questions regarding the issue, please feel free to ask.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Name Mapping
-
Web Testing
I would like to see a native integration between TestComplete projects and GitActions runners. Currently the only option is to create a custom workflow and use self-hosted runners, but this on-prem configuration is a bit archaic as many companies are moving to 100% cloud.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
SCC
-
Web Testing
When you write code, sometimes you forget about its beauty - somewhere you missed the semicolon, somewhere the indentations are wrong or something else. But I really want the code to be beautiful. And when there are many people in the team with different experiences, their style of writing code is very different. And I really want everyone to be "on the same wave" and everyone wrote beautiful code in one common style! Prettier (https://prettier.io) handles this task best. It would be great if you could connect it to TestComplete. What do you think?
... View more
See more ideas labeled with:
-
Web Testing
When I check logs, I always have to: enlarge the block with the screenshot to immediately see which elements are in action expand the test case tree on the left to see which test case we are checking at the moment. I suppose that other users also suffer from such inconveniences, and maybe they have other wishes to view the logs. That's why I think it should be possible to adjust the display once and keep it. So that you don't have to change the display of the log window every time you run test cases.
... View more
See more ideas labeled with:
-
Test Results
-
Web Testing
Adding a search bar, or maybe ctrl+f searching to the project explorer itself would help in navigating and finding tests and scripts, especially when there are a large number of tests.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Mobile Testing
-
Web Testing
There are no straight and easier ways to integrate TestComplete with Zephyr Scale like it does with Zephyr for Jira (now Squad). Following the API route is very time consuming and taking a lot of effort without any proper working guidelines. Kindly implement the seamless integration between TestComplete and Zephyr Scale.
... View more
See more ideas labeled with:
-
Web Testing
We want to setup our objects in a folder structure within the Namemapping area this would allow for ease of use when creating a new script. At this point there is no way to add New Folders in the Aliases section for us to move the objects into.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Name Mapping
-
Web Testing
When you rename a variable in the project / project suite / keyword test etc give you the option to amend the name of the variables where they are used in keyword tests just like you do when you rename a NameMapping item.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Mobile Testing
-
Web Testing
The suggestion is to allow a TestComplete user the ability to define "profiles" for settings/options. For a simple example, while I am developing tests, I might want to set error handling to "Stop Project", slow down the playback events or store all logs. But, when TestComplete tests are "in production" (run nightly from Jenkins, for example), the settings might need to be different; I might want error handling to be "Stop and rerun current item", playback events at their defaults or only keep the 5 most recent logs for example.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Mobile Testing
-
Web Testing
I would like a couple more options on the event handler I would like "on Project Start" to run a script to initialize variables - I don't need to run this at the start of every project
... View more
See more ideas labeled with:
-
Web Testing
Hi, The request is to have the 'Execution Plan Editor' to work with Automation tests that has 'tags' on them. Currently if the "Run @tag" option is selected, the tests will run in no apparent order, ie. the 'Execution Plan Editor' feature does not work along with it. Hope that the feature request can have some priority, since it would definitely help a lot of Projects that utilize the Automation tests to run on CI/CD Pipeline. Thank you in advance.
... View more
See more ideas labeled with:
Please expand Extended Properties to include CSS Selector (if available). I use CSS Selectors 99% of the time to identify web controls for TC. Sometimes overlaying web controls make it difficult to determine the exact control needed for inserting text, finding text, Child Count, etc. Being able to inspect the properties desired and having the CSS information on the same screen would prevent guesswork with 100% accuracy in copying the Selector and promote speed in coding... at least for me.
... View more
See more ideas labeled with:
-
Web Testing
I understand that Testcomplete is a scripting language and some use the tool for automation script development with "record & playback", however, it would be much appreciated have the option of developing using a oop design patterns. Python and JavaScript are powerful languages. By relegating them to a script code style is stripping away their best features. Those that use JavaScript and Python for automation are using them with selenium which does not have a great way to automate desktop applications. By allowing users to choose to develop oop code with the namemapping features, Testcomplete can work as the preferred IDE for automation.
... View more
See more ideas labeled with:
It is great if we have feature to use JSON file as Data Provider in TestComplete , as in many cases need to validate UI fields from API Request
... View more
See more ideas labeled with:
-
Data-Driven Testing
-
Mobile Testing
-
Web Testing
As stated, we must be able to use Edge with compatibility mode since this has become our company standard. We realize that the UI is outdate and have plans to upgrade but have not been able to determine when we will be able to do this. With scripts, we can open the browser window, load the test URL and log into test system by entering the user ID and password into text boxes on the page and clicking on a ‘Log in’ button. It is only after we are logged into the system that we are no longer able to see any objects in the browser window. Group policies are applied based on the address displayed in the browser.
... View more
See more ideas labeled with:
-
Web Testing
I like Testcomplete and all it's features, however, when needing to write code it is a bit of a pain (intellisense, styling, code completion, indenting, etc., all do not work well). Instead of coding in Testcomplete, can we add support in VS Code for development and execution? Still have it tied to the license and no need for namemapping, at least not right away, so we can take advantage of a smoother ide. I currently use python with TestComplete.
... View more
See more ideas labeled with:
Please provide ability to develop Testcomplete tests using VS Code (dll). No need to include namemapping or object spy feature. Just create an extension for quick test script development and execution using TestExecute.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Mobile Testing
-
Test Results
-
Web Testing
Image Comparison Result shows only White background in exported mht but I see TestComplete has three comparison modes: White background - when selected, TestComplete fills identical pixels with white color. Light background - when selected, TestComplete lightens identical pixels Dark background - when selected, TestComplete darkens identical pixels It would be more clear if this option available in mht export format as white background difference is not clear and need to look at actual image to see exact difference.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Web Testing
Status:
New Idea
Submitted on
07-22-2021
10:34 AM
Submitted by
Hassan_Ballan
on
07-22-2021
10:34 AM
When validating forms fields labels, and help text (properties ContentText values), the "Properties Checkpoint" is ideal. However, it waits for the Auto-wait timeout when it fails validation. In a large project, for example only 10 errors exist and each have to wait for the global default of 10 seconds, it would be 100 second additional run time where in automation time is of an essence.
Ideally the "Properties Checkpoint" should be performed in tow steps:
1. access the object including wait for the time out
2. compare the property value do not wait for the time out
Current options:
1. Change the global default time out of 10 seconds to a very low number, and that is not a good idea and still does not go as fast as should be
2. Override individual "Properties Checkpoint" to set a very low value, is difficult to maintain with constant edits, and still does not go as fast as should be
3. Use the "If Object" or "If Then" with "Log Message" it becomes 4 statements rather than the single "Properties Checkpoint", and still the time out applies
... View more
See more ideas labeled with:
-
Checkpoints
-
Keyword Tests
-
Web Testing
Status:
New Idea
Submitted on
05-01-2020
02:23 PM
Submitted by
garyschechter
on
05-01-2020
02:23 PM
I thought this should just be a feature already and I posted asking for help to get it to work. https://community.smartbear.com/t5/TestComplete-General-Discussions/Log-Folder-Icon-Checkpoint-Over-Message-Javascript/m-p/200736#M37434 The log folders are real nice for cleaning up the logs but they only change Icon's if the Folder contains an Error or a Warning. I want LogFolders to show a green if it contains a checkpoint. A common sense order of importance Error > Warning > Checkpoint > Message. Instead it's showing Error > Warning > Message. I think it should even auto detect based on the Log item's priority that has been set. Or just a method to hit ie, Log.CurrentStack(iconWarning, priorityHigh); function TestScriptLog()
{
Log.AppendFolder("This folder Icon should be an Error");
Log.Message("Informational in Folder","",pmNormal);
Log.Checkpoint("Checkpoint in Folder","",pmNormal);
Log.Warning("Warning in Folder","",pmNormal);
Log.Error("Error in Folder","",pmHighest);
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be an Error");
Log.Message("Informational in Folder");
Log.Checkpoint("Checkpoint in Folder");
Log.Warning("Warning in Folder");
Log.Error("Error in Folder");
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be a Warning");
Log.Message("Informational in Folder","",pmNormal);
Log.Checkpoint("Checkpoint in Folder","",pmNormal);
Log.Warning("Warning in Folder","",pmHighest);
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be a Warning");
Log.Message("Informational in Folder");
Log.Checkpoint("Checkpoint in Folder");
Log.Warning("Warning in Folder");
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be a Checkpoint");
Log.Message("Informational in Folder","",pmNormal);
Log.Checkpoint("Checkpoint in Folder","",pmHighest);
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be a Checkpoint");
Log.Message("Informational in Folder");
Log.Checkpoint("Checkpoint in Folder");
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be an Informational");
Log.Message("Informational in Folder","",pmHighest);
Log.PopLogFolder();
Log.AppendFolder("This folder Icon should be an Informational");
Log.Message("Informational in Folder");
Log.PopLogFolder();
}
... View more
See more ideas labeled with: