ContributionsMost RecentMost LikesSolutionsRe: Remote execution not working I've contacted SmartBear already, so will post an update if there is anything further, thought I'd try a two pronged approach in case it was something someone else has experienced. Remote execution not working Hi, I've noticed that since upgrading to the latest version of TestComplete and TestExecute I'm having issues starting or running TE remotely (I execute tests remotely using TE and a command line). I am unable to verify the connection from TC to TE on my remote machine anymore and also cannot remotely execute via command line as before. When I attempt to run TE remotely, the TE application starts up when viewing in the task manager on the remote VM, but does not fully boot up and start the TC service like it usually would. It does however open as expected and start the TCservice if I open TE manually on the VM. Note the same command has been sent pre and post update of TestExecute and the VM environment has not changed. TC Version: 14.72.408.7 x64 TE Version: 14.72.408.11 x64 Command used to execute below "psexec -u DOMAIN\USER -p PASSWORD \\MACHINEIP -h -d -i cmd.exe /c "C:\Program Files (x86)\SmartBear\TestExecute 14\Bin\TestExecute.exe" "C:\PATH\TO\SOLUTION\TCPROJECT.pjs" /r /p:PROJECT" It is strange that TestComplete cannot verify the connection within the network suite for any of the VMs setup that was working previously OK. Re: How to find where mapped objects are used Seems the only way to find some reference of objects is to use the find functionality (ctrl + f) and search the alias/mapped object string. It appears that it will find it if mentioned in the value column of a keyword test or as a string in a script, however it won't pick up an object being used in an action. Re: How to find where mapped objects are used Hi Alex, Not quite what I was looking for, this only gives you an idea of what is being used in the NameMapping, what I was looking for is if there was a way to identify exactly which tests an object is being referred to, so rather than a high level "this object is being used" I would be looking for "this object is being used in test X, Y and Z" specifically. To my knowledge I don't think there is such a feature (but others like Katalon have this) so was wondering if I had missed something. Thanks, Tris How to find where mapped objects are used Hi all, Just wondering if there was a way to find out which objects in the name mapping have been used in KeyWord tests? For example, if I want to amend a mapped object or alias object is there a way to see which tests are using it already before I make the changes to ensure I don't break other tests when I make the changes? Thanks SolvedRe: CSS selector into namemapping AlexKaras- apologies, I'm from the UK, saw the date as 2nd September 2020, rather than what it is (US date) 9th February 2020. Still would be nice to see a future update which made the CSS/Xpath locators visible in the old way of mapping so that they could be gracefully switched over. In the software I'm automating it would potentially be worth switching due to the lack of attributes associated to objects, though in recent update of our technologies it seems that they are starting to get better. Re: CSS selector into namemapping Marked solution is incorrect. This is a recent feature added in TestComplete v14.50 as I was investigating the use of this. There is a full guide on this which can be found on the support site below. https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/xpath-expressions-and-css-selectors.html Note - I have tried to implement mapping with CSS selectors alongside my existing name mapping which uses attributes and have had inconsistent mapping results. For example I map a new object, which on the UI is within an existing mapped object and TestComplete maps it correctly as I would expect within the existing object at alias level, but not anywhere close to where I would expect at the mapped object level. I contacted SmartBear about this, their suggestion? Delete all my existing mapping and start again if I want to work with CSS locators, hardly a solution, so just be aware of this if you do decide to go down the CSS locator route. I would suggest if the above is something you would like to do, then up vote the feature request below which would allow us to transition our existing mappings over, rather than deleting and mapping all over again. https://community.smartbear.com/t5/TestComplete-Feature-Requests/Request-adding-CSS-Selector-to-extended-properties-in-Object/idi-p/205255 Re: Request adding CSS Selector to extended properties in Object Browser This would be great, I enquired about some strange mapping behaviour I had experienced with the new CSS/Xpath mapping in TC and was basically told, delete all your mapped objects and start a fresh to use the new CSS/Xpath locators reliably. Not a great response as this is a huge amount of work, but this suggestion of adding in the CSS or even Xpath to the extended properties would allow me to convert over my existing mappings easily, as currently you cannot remap existing objects to use Xpath/CSS locators, rather than having to delete everything and remap the whole product I am working on and fix all the tests that will break due to these changes. Re: Delete a file based on date? Good spot, I've refactoted it in to a single routine as below. function LogManager() { var foundFiles, aFile; foundFiles = aqFileSystem.FindFiles("C:\\Automation\\Log\\All", "*"); if (foundFiles != null) while (foundFiles.HasNext()) { aFile = foundFiles.Next(); var DateTime = aqDateTime.Now(); var DateTimeMinusXDays = aqDateTime.AddDays(DateTime, -14); if (aFile.DateCreated < DateTimeMinusXDays) { aFile.Delete(); } } else Log.Message("No log files were found."); } Re: Delete File methods not working Thanks Wamboo, it was indeed the case that I was adding in formatting unnecessarily - for some reason I thought I needed to add it to the string based on the example I saw, however when declaring the variable the formatting is actually removed from the string once defined. A dumb mistake that took me too long to get! To anyone interested, I had to amend to the below: // At this point a file has been identified for deletion and we are simply creating the expected string value to pass in using the file path. function OldLogsDelete(aFile){ var DateTime = aqDateTime.Now(); var DateTimeMinusXDays = aqDateTime.AddDays(DateTime, -14); if (aFile.DateCreated < DateTimeMinusXDays) { FilePathString = aqConvert.VarToStr(aFile.Path) aqFile.Delete("FilePathString "); Log.Message(FilePathString + " deleted" ); } Thanks again!