ContributionsMost RecentMost LikesSolutionsNot able to click on ribbon items We need to automate test scripts that runs multiple environemnts like US, German etc.So I am trying to write a script to click on Devx ribbon items that works in all locals.I found one commaon property called "Name" and I am looping through ribbon items to get a name and trying to click on that. 1.I tried Perform click but test execute not able to proceed further after perform click so daily execution is getting struck. 2.I tried var RibbonItem=RibbonControl.Items.Item(i); RibbonItem.Click(); But there is no click method for RibbonItem. 3.There is click item mothod for RibbonControl but it takes either index or text. if I try RibbonControl.clickitem() I am not able click on items of item. Is there any other I can click Ribbon item here? If I record then this how it is generating code RibbonControl.ClickItem("Print Preview|Document|Save") code: function clickRibbobControl(RibbonControl,Name) { // Get the tool bar and item key and click on the item var itemsListCount = RibbonControl.Items.Count; var tempKeyValue; //Loops throgh items and gets the position and clicks on it for(var i=0;i<itemsListCount;i++) { tempKeyValue=RibbonControl.Items.Item(i).Name; if(tempKeyValue == Name) { Log["Message"](i); //Below PerformClick Action makes TC to get stuck after the click action //RibbonControl["Items"]["Item"](i)["PerformClick"](); var RibbonItem=RibbonControl.Items.Item(i); RibbonItem.Click(); break; } } return 0; } Re: Conditional name mapping not working in test execute Thank you Tristaanogre. Yes, my test execute version is 12.42 and test complete version is TC 12.5. Looks like that is the issue. Conditional name mapping not working in test execute Hi, I created conditional name mapping few objects. It is working in test complete but not able to identify conditional mapping when I run with test execute. Same scripts were working fine till last week with both test complete and test execution. Not able to figure it out why it is not working now. Are there any settings to enable that? Thank you in advance! SolvedRe: skip execution of folder depending on the condition Thank you for your reply. Option 1 is not suitable for my project as same scripts need to run in the US and not in German. Option 2 I am using this now for some of the scripts but it is difficult to update in each script so I am looking for better solution. Thank you Re: skip execution of folder depending on the condition Thank you for your reply, yes I am talking about Project Item Group. skip execution of folder depending on the condition Hi, Currently, we run automation scripts in the US. I am updating them to run in German. I don't want to wait until everything is updated to run in German local. Is there any way we can run/skip a particular folder depending on the condition (location)? I am already using Project suite variable for identifying a location and to get the translation. I am also using Stop execution for individual scripts. But is there any way we can skip a complete folder. Thank you! SolvedRe: Button not getting enabled after checkbox is selected Thank you for your reply. Earlier we used click() but we need to give x,y coordinates in that click. Problem with that method is if the coordinates of that node changes then the script will fail. If I new node is added then coordinates will change. Looking for a more long-term solution. I didn't find ClickChecked method for either grid or nodes. Thanks. Button not getting enabled after checkbox is selected Hi All, I automating a .net desktop application. I am trying to select a check box in Tree list. Tree list has nodes and sub nodes with check boxes. After selecting check box continue button needs to be enabled.I am able to select checkbox by looping nodes and sub nodes and by using this method subnode["set_Checked"](true);. But the problem is after selecting a check box continue button is not getting enabled.Looks event is not getting called after selecting a check box.(Manually it is working fine).Are there any methods or any workarounds for this issue. Thank you in advance. select a value from drop down list Hi , I am trying to click on a value from drop down list.I am using below code. StatusList=DealerPage.EvaluateXPath(".//*[@id='DealerListForm']/div[1]/span[2]/select") StatusList(0) is the object if I check in watch there are WItem values for this object.Item values are --Any Status--,Supported,Unsupported I used below functions but I am not able to select a value from the drop down. StatusList(0).SelectedIndex=0--not working StatusList(0).ClickItem(0) --not working StatusList(0).ClickItem("Unsupported")-- not working StatusList(0).keys("[Down]"--this is working Please let me know if there is any other way I can select a value in the drop down. Thanks all in advance for the replies. FloatToStr in different counties for check points Hi, I am working on desktop application which runs in different countries.I need to verify % values with a check points. For example if the value in US is 4.00% then in German it should be 4,00%.(I need to check % values multiple times like 4.17%,3.56% etc) I used below code aqString.Concat(FloatToStr("4.00"),"%").This is converting value by country local but it is not showing in decimal value.The result of above function is 4% instead of 4.00% or 4,00% There is another function aqString.Concat(FloatToStrF(4.00,2,2,2),"%") but this is going to deprecated. Is there anyway we can override number digits after decimal point for "FloatToStr" function? I found another alternative which is Using aqString.Format and setting the local format using below code as aqString.Format is not converting as per local settings.If I use aqString.Format the results in 4.00% in all countries. SetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, ","); If I use this do I need set local value before checking every % value? Thanks in advance for all your replies. Solved