ContributionsMost RecentMost LikesSolutionsRe: Name Mapping WPF Tabs There was a title for each TabItem and I used that as a property for mapping the tab and now the tabs can be in any order. Name Mapping WPF Tabs I am testing a WPF application where the user can dynamically configure the Tab Items displayed on the screen (and the order in which they are displayed). I would like to organize my namemapping by the tab the data exists on, the subsection where the data exists (stack panel, grid, etc.). First, I need to map the tabs. I would like to be able to "click on" or bring up the desired tab programmatically regardless if it is TabItem 1, TabItem 2, etc. The way the code is organized is WPFObject("LayoutDocumentPaneGroupControl","",1) WPFObject("LayoutDocumentPaneControl","",1) WPFObject("TabItem","",1) WPFObject("LayoutDocumentTabItem","",1) Here is the full path forWPFObject("LayoutDocumentTabItem","",1): Sys.Process("SiMPEX").WPFObject("HwndSource: ShellView", "SiMPEX").WPFObject("ShellView", "SiMPEX", 1).WPFObject("Grid", "", 1).WPFObject("PluginsGrid").WPFObject("Border", "", 1).WPFObject("DockingManager", "", 1).WPFObject("LayoutPanelControl", "", 1).WPFObject("LayoutDocumentPaneGroupControl", "", 1).WPFObject("LayoutDocumentPaneControl", "", 1).WPFObject("TabItem", "", 1).WPFObject("LayoutDocumentTabItem", "", 1) 1. Is there a way to map an alias to the TabItem that is independent of which tab # the item is? 2. In order to use the created alias in a keyword test, would I map theWPFObject("TabItem","",1) item or theWPFObject("LayoutDocumentTabItem","",1). Note, I will want to use this as a parent item to map the data that is on each of these tabs. SolvedRe: Running a command line program from a Keyword Test Thanks, Marsha. I will check it out. Re: Checking the background color of an object on my GUI application I apologize for being unclear. I am simply trying to detect the color of a button on my WPF GUI. For example, if the following checkpoints all pass, the color is YELLOW (the ..X replaces the long object path) Property Checkpoint 1 ..X.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "B", cmpEqual, 0.. Property Checkpoint 2: ..X.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "G", cmpEqual, 255... Property Checkpoint 3: ..X.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "R", cmpEqual, 255.. These will each fail individually if they evaluate to False, but I was looking for a way to evaluate all 3 in the same step or better yet to get the 3 object properties and then I can manipulate them with an IF-Then. I could not find a way to get those particular properties. I am very new to TestComplete, so I just assumed there is an easier way and I haven't found it yet. Thanks for the help. Running a command line program from a Keyword Test I have a program on my windows computer that I want to run as a command line with parameters (or I can create a batch file). I am new to TestComplete and currently working with keyword tests. Is there a way to execute a command line program from a keyword test ? SolvedChecking the background color of an object on my GUI application I am new to TestComplete and working with Keyword Tests to test my GUI application. I want to see if a button on my screen is red, yellow, or green. I can do a property checkpoint on each of the color properties (e.g. button is red): Aliases.XXX_ShellView.ShellView.LayoutDocumentPaneControl.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "B", 0, 0, True Aliases.XXX_ShellView.ShellView.LayoutDocumentPaneControl.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "G", 0, 0, True Aliases.XXX_ShellView.ShellView.LayoutDocumentPaneControl.RXLed_C.Fill.GradientStops.zcollection.zlistStore.zentry0.Color, "R", 0, 255, True But I don't see how to check the AND of those conditions. Again, I am new to Keyword Tests, but there has to be a way to do this, right? Solved