ContributionsMost RecentMost LikesSolutionsRe: Check PopupMenu exists if (!Object.MainMenu.Items("Menu").SubMenu.Items("Submenu").Exists) { Log.Warning("Object doesn't exists"); } That's how I do it in JScript! Re: Selecting the MainMenu OptionsTry removing the "MainMenu" from my last answer. Something like: YourObj.Click(0); Let's keep trying, I'm sure soon it'll work!Re: Selecting the MainMenu Options Definitely not! Another way (this will probably work and should have been the first suggestion, sorry hehehe) is working with indexes: To access the "Home" option: YourObj.MainMenu.Click(0); To access a dropdown menu, it works this way: YourObj.MainMenu.Click("[1]|[2]"); This would access the File menu, third option in the dropdown. Let's hope this works!!! Re: Selecting the MainMenu Options You could try recording the actions you want to execute, then checking out how TC will work with this object. Maybe there's another method to select items in this kind of menu that I'm not aware of! Re: Selecting the MainMenu Options Maybe using another method to select items will solve the problem? I usually use .Click(""); E.g: mainmenu = Sys.Process("Teachers.debug").VCLObject("frmMain").VCLObject("barRibbon") mainmenu.Click("Home") mainmenu.Click("File|Functions|XYZ|ABC Navigator") Let me know if that works ! Re: How to change default mapping properties of entire project Bom dia Pedro, como vai? Para esse problema, o TC tem uma opção chamada NameMapping Templates. (Help online: https://support.smartbear.com/viewarticle/81122/). Para utilizar, acesse o NameMapping do seu projeto, Right Click na lista de Mapped Objects ou Aliases (não faz diferença) e selecione "Add Template". A partir da tela que abrir, selecione um objeto que possui as propriedades que você deseja que sempre sejam mapeadas, e Add. Agora são mostradas todas as propriedades do campo, mais as colunas Active e Store. Em Active, marque todas as opções que vão ter os mesmos valores em todos os campos, por exemplo, WndClass "Edit" para todos os Edits. Já em Store, marque todos os campos que você quer armazenado, mas que não necessariamente terão o mesmo valor dos demais campos, continuando com o exemplo do Template Edit, poderia ser marcado a opção ControlID "000", que no próximo campo Edit, não será o mesmo valor. Após ter isso gravado, sugiro que faças a exportação da opção "Root _ NameMapping _ Templates" em um arquivo único, para que possas importar nos projetos futuros, ao invés de refazer toda vez! Se tiver alguma dúvida, estou à disposição! Re: can not click on SysTreeView32 in MFC application It seems like it's a mapping problem. :catfrustrated: Try checking all the parents for this object until you find the one that's broken... Sometimes developers can change Index/Control ID or some other options from an object and then you get this kind of error. Hope this helps! Re: Blinking Border Detection Attribute Couldn't find any property for color as well. Maybe using Regions can solve your problem in this case? Re: How test complete give Priority on unexpected window Hey Kamal_chennai! If you check Ignore unexpected window, it's going to ignore your General Event as well. If your options to "Press Esc/Enter/Send WM Close/Click on focused control" are checked, it's going to do those before running your G.E. If Stop Execution is checked, it's going to run your event function first, then stop the execution. Hope that helps :) Re: Run Time Test Data for TestScript Hey yaseenmd , how's going? What do you mean with "i want to pass the values in run time"? If you meant passing the values during the execution of your tests, this would be the way to do this: function Test() { var yourInput = BuiltIn.InputBox("Input box", "Input your text:", ""); //do whatever you want with yourInput... } Help for Input Box: https://support.smartbear.com/viewarticle/74068/