ContributionsMost RecentMost LikesSolutionsRe: How to propagate script changes back to the keyword test? rraghvani, thank you so much for all of your help. I am marking my question as solved. - My parent Ribbon object has 3 children, Window("ToolbarWindow32", "Main", 2), Window("ToolbarWindow32", "Typical", 1), and Window("#32770", "Ribbon", 1). I am able to individually select buttons only on the Window("#32770", "Ribbon", 1) icon bar but I can get my test to complete by running from the script. Thank You again! There is a LOT to learn! Re: How to propagate script changes back to the keyword test? Thank You! I do not see Ribbon2 anywhere either. Yet when I run the keyword test is fails with Ribbon2Error. When I look at the script generated from the keyword test I get this: Aliases.draft.wndAfx.Ribbon2.Main.CheckItem(40068, true, false); I change it to Aliases.draft.wndAfx.Ribbon.Main.CheckItem(40068, true, false); running the script also fails because it does not find Main which is why I insert Aliases.draft.wndAfx.Ribbon.WaitVCLNETObject; Delay(5000); and save. Now the script succeeds most of the time. I guess my questions are: why is there an object that I cannot find anywhere? 😕 is there a connection between the Keyword test and the script generated from it and, if so, is there a way to propagate the changes made to the script back to the Keyword test? I have found MSAA and added AfxControlBar140. Have not had a chance to play with it yet. Re: How to propagate script changes back to the keyword test? Thank You for your reply. carlzdooms, what is at these links? Re: How to propagate script changes back to the keyword test? Thank You! Right clicking on ...ribbon... > Go to Declaration (image: RightclickRibbonDeclaration.png) takes me here (image: RibbonDeclarationMappedObjects.png). What do I do here? I do not find "Ribbon2" to fix it. Re: How to propagate script changes back to the keyword test? This is where the double click takes me (KeywordOpenDrawingTest). I do not know how to update the keyword test to reference "Ribbon" instead of "Ribbon2". THANK YOU! How to propagate script changes back to the keyword test? I have recorded a keyword test and generated a script from it. I had to make changes to the script due to the fact that the test did not wait for the icon bar to display. I also mistakenly accepted an intelligent fix which caused a "ribbon2" to be created/mapped? I deleted "ribbon2" from the mapping and from the script. When I run the test from the script it looks for "Ribbon". When I run it from the keyword test it looks for "Ribbon2" and consequently fails. How can I fix the keyword test to look for "Ribbon" instead of "Ribbon2"? Images attached. TiA - Astrid SolvedRe: While loop seems to be ignored when looking for a menu bar Thank You, rraghvani. "Aliases.draft.wndAfx.Ribbon.WaitVCLNETObject" seems to be the only solution that will work. The test actually succeeded once without having to replace with a similar object. I will accept your first suggestion to wait for the parent as the solution to my issue. But now I have another problem that I caused and do not know how to fix. I will ask another question for it. Thank you so much for all of your help! Re: While loop seems to be ignored when looking for a menu bar Thank you much! - It seems that I can use "Aliases.draft.wndAfx.Ribbon.WaitVCLNETObject". Is this correct? - It does not work with Main. The test runs to completion waiting for the Ribbon but I get a warning The "Ribbon" object was replaced with a similar object. I do not know how to fix it. Name mapping image is attached. TiA for your help! - Astrid While loop seems to be ignored when looking for a menu bar Hello again. I am at the end of the first week of my 2 week trial and I cannot get my test to run successfully. I am trying to click an icon on a menu bar that displays after my application opens. Sometimes it takes a while for the UI to display fully and TestComplete fails before all windows and menus are visible. I tried to employ a while loop based on an example I found in the documentation. It worked the first time but failed every time when I tried to run the test thereafter. Can anyone tell what I am missing or doing wrong? Images are attached. TiA - Astrid SolvedRe: Test keeps failing with Text "..." was not found Ok, thank you all much for your help!