How to simplify process of embedded module into two applications
I have a module would be embedded into two applications, app_A and app_B. app_A name mapping : NameMapping.Sys.app_A.MainForm.tableLayoutPanel.toolBarPanel app_B name mapping : NameMapping.Sys.app_B.MainForm.tableLayoutPanel.toolBarPanel How cloud I implement current auto testcases from app_A to app_B? Should I build a brand new name mapping for app_B? Is there other solution to simplify this process? Thanks for reply30Views0likes4CommentsName Mapping not working on remote browser
The name mapping and test cases work fine on local browsers, but would complain about page or object not found when running headless remote browsers and in parallel testing. I have the following setup for browser name mapping: For headless setup I have: server = "localhost" capabilities = { "browserName": "chrome", "headless" : "true", "screenResolution": "1920x1080", "platform" : "Headless", "record_video": "true" } Browsers.RemoteItem[server, capabilities].Run(url) Is this the correct way to work with name mapping on headless browser?884Views0likes14Commentshow to get Object.Name without triggering element search
Hi guys, I know that this topic may sound a bit weird, but I have a very good reasons for it :) Here is my situation... I have a mapped element, containing an xpath, which I need to pass to a function as a parameter. The xpath alone, may not find an element! This is a critical point of my problem! The xpath is supposed to be used as a parameter in FindElements method. And because FindElements parameter requires xpath, I first need to extract the xpath from the mapped element. BTW, of course, I know that I can pass the xpath directly as a parameter. But I want all my xpaths stored in Name Mapping and not here or there in keyword/script modules. Therefore, I want to pass either mapped object or string value, representing the mapped/alias object. The problem is, that if the mapped element is used directly, as a parameter of function, during runtime, it always triggers the element search. But as I mentioned above, the xpath alone cannot find the element! So I decided to assign the mapped element via string constant (to avoid the search of element) and then convert the string back to object using Eval function. Eval correctly converts the string to object, but then, after calling Name property, it again tries to search the mapped element in UI, which, of course fails, not to mention takes long time. So, is there a way, how to get the xpath of a mapped element, without triggering element search? Thanks.Solved103Views0likes7CommentsClone Name Repo
Hi. I want to clone a name repository from one project suite to another and I want to clone keyword tests from one project suite to another. Then I want to go into cloned Project suite and change three characters in the url of objects with use of a wildcard ? Or *. Is that possible? TestComplete 15.x.x -todd218Views0likes2CommentsWarning messages in the test run log for improve performance
Hello, Recently I have updated all my nameMapping to use unique identifiers in the XPath and deleted all others that TC saved when recorded. So tipically I have only one selector for each object or element. When I ran the test it gave me the following warning almost for all the objects. You can improve the performance of the object search in the test. The NameMapping.Sys.browser.pageAuth.login_SignIn_Btn object can be found faster if you make //input[@type="submit"] the first selector in its selector list. And in the nameMapping for this object I see only one selector as I mentioned above. Still not sure why its throwing warning messages. Even when I click on Improve performance button in the log it just added an Empty selector, and even with that when I rerun the test it gave same message. One another thing is that the Extended Find column doesn't have any checkboxes. Is there something I missed in the settings or somewhere else TIA571Views1like3CommentsDevExpress htmlContentControl TilesView
Recently we started using DevExpress controls on our project. Mapping them is an unobvious task. Object Spy can't give me the required result. I've tried recording tests and it helped me in previous cases but not with the last. We have two types of panels shown below: Recording the tests gives me htmlContentControl.Click(107, 23); This approach obviously seems wrong to me. Because I want to click a text, not just a point of a given panel. Also, I need to check e.g. if it was selected. Has anyone some advice on how I should search for a proper container of these items?35Views0likes1CommentHow to use scripts and name mapping on Devexpress upgrade ?
What methods can be employed to utilize scripts and name mapping during a Devexpress upgrade? I'm relatively new to Test Complete. While working with a desktop application, I've encountered issues where scripts fail due to changes in Xpath during a Devexpress upgrade. How can such issues be effectively managed both now and in the future to minimize the efforts needed during upgrades? Your suggestions would be greatly appreciated.31Views0likes5CommentsGetting below error 'The object with the specified attributes does not exist.'
I have tracked the object of WPFApplication into namemapping, I am able to highlight the element on the application using highlight button but while executing the test it shows 'The object with the specified attributes does not exist.' above error. I have attached the screenshot below.28Views0likes1Comment