Showing ideas with label Name Mapping.
Show all ideas
It would be useful to be able to show the link between an Alias object and an object in the Name Mapping. As time has gone on my Name Mapping has need to be updated as objects hierarchies have changed in my tested application, however, in order to prevent me from having to update all of my scripts and keyword tests I have left the Aliases in their original structure. It has now become difficult to identify which Alias objects relate to which Name Mapping objects.
... View more
See more ideas labeled with:
-
Name Mapping
This year, almost all products in our company has upgraded DevExpress version to 22.2.7.0, we have more than 5000 UI automation test cases are running with TC/TE 14.9, then it works fine with previous devexpress version 21.1.6.0, however after it was upraded to 22.2.7.0, our products will be crashed when running with TC/TE, we also tried the latest version, it didn't work, we have to ask help from Smartbear, this is a blocker issue for us, without this issue fixed, we can not run our automation, hope you can support this new version as soon as possible, thanks in advance.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Name Mapping
I have some desktop application under test where MDI windows have highly variable WndCaption property. This produces an awful lot of name mappings when I record keyword tests. Auto-generated mappings use two parameter-value pairs: "WndClass: Afx:00400000:b*" and "WndCaption: <whatever_caption>". However the captions have some distinctive patterns and naturally I wanted to utilize those patterns to reduce number of mappings. So I created the manual object mappings like this: wndType1: WndClass == "Afx:00400000:b*" WndCaption == "regexp:^Object: .*" wndType2: WndClass == "Afx:00400000:b*" WndCaption == "regexp:^!(Object:).* - \(.*\)$" ... and so on, paying special attention to possible ambiguities when constructing the regular expressions. Mapping worked as expected, showing correct MappedName in the Object Browser. Upon converting the existing keyword tests to use the new mapping, everything functioned seamlessly. However, when I attempted to record new keyword tests, TestComplete consistently generated its own mappings instead of utilizing the existing ones, despite my efforts. After some trial and error, I resorted to replacing the regular expressions with the combination of conditions and wildcards: wndType1: WndClass == "Afx:00400000:b*" WndCaption == "Object: *" wndType2: WndClass == "Afx:00400000:b*" WndCaption == "* - (*)" AND WndCaption != "Object: *" And all of a sudden everything works like a charm! I believe this behavior is not intended, especially since I couldn't find any mention of limitations related to the use of regular expressions in the documentation available.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Keyword Tests
-
Name Mapping
I like to have tidy and clear Names for my items - the TestComplete suggests don't align and look like what I need
When I look for a new object on my webpage, even if auto name mapping is switched off
Engines > Name Mapping
The system assigns a name, it would be nice at this point that you have the option to rename the item
... View more
See more ideas labeled with:
-
Name Mapping
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
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, 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
Status:
New Idea
Submitted on
01-06-2023
12:25 AM
Submitted by
Vallalarasu_P
on
01-06-2023
12:25 AM
TestComplete has an excellent Object Recognition Engine for Desktop, Mobile, Web for multiple technologies. During Recording or creating Namemapping object identification happen on certain pattern which is not suitable for all Eg: WebApplication 1 : SalesForce and WebApplication 2 : MS Dynamics application. If we have SmartBear suggested Templates based on Application like SalesForce, Generic Web Application, Angular with PrimeNG/Telerik etc., It would be a great support for the users. The Templates are supported for Native Object Identification, It can be provided for Xpath/CSS Feature Suggestion: During Creation of a Project, Selecting Application Type can add relevant NameMapping Template to the Project will be a great Feature. In addition to that the length of text in AutoNameMapping can have a limit of 10 to 20 characters will be better too.
... View more
See more ideas labeled with:
-
Desktop Testing
-
Mobile Testing
-
Name Mapping
-
Web Testing
Before anyone comments, I know that this feature has already been "implemented" but is done poorly imo. In this post: https://community.smartbear.com/t5/TestComplete-Feature-Requests/Find-Usages-of-Name-Mapping-Objects-Aliases/idi-p/119097 A user already requested a feature like that, but currently all we have is a way to find out if an mapped Object is used at all or not. I think a binary output (used / unused) is not what the creator of the post meant and it is certainly not what I mean by "Find Usages". I want a way to find out the specific usages of every Object. So everywhere where the Object is used in: On-Screen Actions Scrips Code Snippets Parameters of Scripts Parameters of Keyword Tests Checkpoints If Objects ... So basically everywhere where the Object can be referenced in. For an IDE (like TC is) to be used in a productive way, a useful "Find References" Function is essential.
... View more
See more ideas labeled with:
-
Keyword Tests
-
Name Mapping
-
Web Testing
Sometimes a name-mapping object cant be found and its not because its name-mapping is wrong but because one of its parents name-mappings are wrong. To solve this you have to go through and "Highlight object on screen" each parent till you find the one that's broken. It would be nice to be able to just have an optional indicator, like the usage indicator, just showing you which parent is broken. I get this would be hard to implement, since you don't want to be searching for every item in the entire tree, but could you do something similar to the usage indicators where it collects statistics on it during the runs? Maybe it would only display the status of recently used objects?
... View more
See more ideas labeled with:
-
Name Mapping
There is the WaitWindow Method which recognizes the window based on the WndClass and WndCaption properties. When using the NameMapping it is common to have the windows mapped. Therefore it would be better if you could call the WaitWindow method on the mapped alias. For example: NameMapping.Sys.MyApp.HwndSource_ConfirmReset.wndConfirmReset.WaitWindow(); or Aliases.MyApp.HwndSource_ConfirmReset.wndConfirmReset.WaitWindow();
... View more
See more ideas labeled with:
-
Name Mapping