ContributionsMost RecentMost LikesSolutionsRe: New Jenkins TestComplete Plugin Released to publish MHT reports in JUnit format We lack a TC11 license so the only way that we could support it is that you provided the needed output. Take a look at: https://issues.jenkins-ci.org/browse/JENKINS-36185?focusedCommentId=263807&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-263807 Re: New Jenkins TestComplete Plugin Released to publish MHT reports in JUnit format The same applies to you pbielinski. You are using the SmartBear's TestComplete Jenkins Plugin, not the xUnit TestComplete Jenkins Plugin I wrote myself. Re: New Jenkins TestComplete Plugin Released to publish MHT reports in JUnit format You seem to be using Official Testcomplete Jenkins plugin. My plugin is the xUnit TestComplete Jenkins plugin. I think you should ask SmartBear about that issue. Re: Enhance TestComplete Jenkins pluginIt must be your lucky day. I just happened to release the plugin you just may have been looking for: https://community.smartbear.com/t5/Functional-Web-Testing/New-Jenkins-TestComplete-Plugin-Released-to-publish-MHT-reports/m-p/96862#U96862New Jenkins TestComplete Plugin Released to publish MHT reports in JUnit format Hi, I am Fernando Miguélez and I have been a user of TestComplete and TestExecute for almost a year. We use those both to test mainly Flex applications. We use Jenkins actively to continuously build and deploy software but also to perform integration (unit) and functional (with TestComplete/TestExecute) testing. We have been looking forward to hearing from an official Jenkins plugin so TestComplete/TestExecute tests could be more maneageable. Our daily functional tests are generated in MHT format and it takes a lot of manual intervention to figure out what happened with every functional group (we have to download it and open int in Internet Explorer that we happen to use only for that, Firefox or Chrome are our preferred browsers). After waiting for so long and after gathering some experience with Jenkins development I decided to create my own Jenkins plugin. Today I would like to proudly announce the availability of new Jenkins Plugin: TestComplete xUnit Plugin. Just look for it in "Manage Plugins" option of your Jenkins installation. This plugin basically converts MHT TestComplete/TestExecute reports into JUnit format that Jenkins can interpret and handle, so you can benefit from quick failure list review, tendency graphs, failure history, etc. I am not affiliated with Smartbear and my release happened to coincide in time with official release of official TestComplete Jenkins Plugin. My plugin is lighter and only applies to publishing. Official Jenkins Plugin from Smartbear is a full blown plugin to directly invoke TC/TE from Jenkins but leaves small room for customizations. In our case we already had set up our integration with Jenkins by means of many tweaks (batch scripts, Jenkins slaves setup, execution rules, etc.) so we only needed the reporting part. Thus if you start out with a fresh Jenkins integration you may prefer to go with official plugin, but if you happen to come from an existing integration my plugin could be more helpful. I hope you enjoy it. ;-) Re: Project suite variables not loaded in TestExecute 10.30Yes, all the linked projects are inside the same suite (only one). Variables are not initialized since they take their default value (they do not change). This works perfectly in TestComplete but not in TestExecute. Moreover I have changed the location of the variables from ProjectSuite to every Project ant it works perfectly. This seems to be a BUG with TestExecute. Project suite variables not loaded in TestExecute 10.30I have a project suite where some temporary variables have been defined. These variables are passed to a Javascript utility function (inside a shared project) called from a keyword test from another project. Script file where utility function is is linked to project with keyword tests (using "Add existing file ..."). Project with keyword tests defines several project items (one per keyword test). If I execute the Project from TestComplete (TC 10.30) it is correctly executed, but when I try to execute it from TestExecute it fails because variables defined in project suite are not resolved (they are received as "undefined" in script function). TestExecute is invoked from a batch file with following command line: start /wait TestExecute.exe "%suiteName%.pjs" /run "/project:%project%" %projectItemArg% /exit /SilentMode "/ErrorLog:%errorFile%" "/ExportLog:%logFile%" /DoNotShowLog /ForceConversion %appUrlArg% %testToRunArg% Re: Firefox crashes while recording click on PopUpMenuButtonI managed to get the the ClickPopUpMenuItem() working as a workaround. The key was: * Keep it menu opened using "open()" instead of "Click()". * Change root object to search. However Firefox keeps crashing and I think that BUG should be solved anyway. Resulting ClickPopUpMenuItem() stays as follows: function ClickPopUpMenuItem(PopUpMenuButton, ItemText) { var AppObject, ItemObject, PropNames, PropValues; //PopUpMenuButton.Click(PopUpMenuButton.Width-5, PopUpMenuButton.Height/2); //Instead of clicking we call open that leaves the popup control opened even //if focus is lost (e.g. when stepping). PopUpMenuButton.FlexObject.open(); // Obtain the Flex application object AppObject = PopUpMenuButton.Parent; // Example was looking for first parent not being an object but we // need just the opposite, we need it to be an object while (AppObject.ObjectType != "Object") { AppObject = AppObject.Parent } // Find a pop-up menu item by text PropNames = new Array("ObjectType", "FlexObject.listData.label"); PropValues = new Array("MenuItemRenderer", ItemText); ItemObject = AppObject.FindChild(PropNames, PropValues, 5); if(ItemObject.Exists) { //PopUp menu is automatically closed when clicking on an item ItemObject.Click(); } else { //We leave the menu closed PopUpMenuButton.FlexObject.close(); Log.Error("PopUpMenuButton item '" + ItemText + "' was not found."); } } Firefox crashes while recording click on PopUpMenuButtonWhen we record a click on a mx:PopUpMenuButton Firefox always crashes. Problem occurs at least in following versions of TC/Firefox we have tried: * FF 27.0.1, 30.0.0 * Adobe Flash Debug 11-14 * TC 10.10, 10.30 Our PopUpMenuButton is defined like this: <mx:PopUpMenuButton id="popUpButton" label="{resourceManager.getString('events_rb', 'options')}" dataProvider="{menuProvider}" labelField="label" includeInLayout="{model.operation == CRUDUtils.CONSULT}" visible="{model.operation == CRUDUtils.CONSULT}" styleName="colorizedPopUpButton" click="this.popUpButton.open();"/> We use an ArrayCollection as data provider for this object: <s:ArrayCollection id="menuProvider"> <!--<fx:Object operId="{EventsModel.ACTION_REFRESH}" label="{resourceManager.getString('events_rb', 'refreshEvent')}"/> --> <fx:Object operId="{CRUDUtils.MODIFY}" label="{resourceManager.getString('events_rb', 'editEvent')}" /> <fx:Object operId="{CRUDUtils.DUPLICATE}" label="{resourceManager.getString('events_rb', 'copyEvent')}"/> </s:ArrayCollection> This array collection is modified according to the view so we add/remove more "Object" options to "menuProvider" (that occurs during initialization of the view). We have also tried skipping recording and using the script provided here without luck: http://smartbear.com/forums/f78/fp5/t65047/how-to-select-specfic-popupmenubutton-using-te/ (we converted it to JScript): function ClickPopUpMenuItem(PopUpMenuButton, ItemText) { PopUpMenuButton.Click(PopUpMenuButton.Width-5, PopUpMenuButton.Height/2); var AppObject, ItemObject, PropNames, PropValues; // Obtain the Flex application object AppObject = PopUpMenuButton.Parent; while (AppObject.ObjectType == "Object") { AppObject = AppObject.Parent } // Find a pop-up menu item by text PropNames = new Array("ObjectType", "FlexObject.listData.label"); PropValues = new Array("MenuItemRenderer", ItemText); ItemObject = AppObject.FindChild(PropNames, PropValues, 5); if(ItemObject.Exists) { ItemObject.Click(); } else { Log.Error("PopUpMenuButton item '" + ItemText + "' was not found."); } } The problem seems to be TC not recognizing the items of the button since the script always fails at line (no matter which text option we provide): Log.Error("PopUpMenuButton item '" + ItemText + "' was not found."); What can we do?