Forum Discussion

jloyzagawh's avatar
jloyzagawh
Contributor
9 years ago

WPF Descriptive Programming - can you give me an example of how to do it on sample code below?

Really want to re move the x,y clicks too!!!

 

 

//Runs the "SportingBet_Intrabet" tested application.
TestedApps.SportingBet_Intrabet.Run();
//Selects the 'Event Management' tab of the 'windows' tab control.
Aliases.SportingBet_Intrabet.HwndSource_IntrabetMainWindow.IntrabetMainWindow.Grid.Grid.windows.ClickTab("Event Management");
//Clicks the 3 item of the 'lbSearchResults' list box.
Aliases.SportingBet_Intrabet.HwndSource_IntrabetMainWindow.IntrabetMainWindow.Grid.Grid.windows.eventManagement.grdMain.EventStack.Grid.Grid.Grid.masterSearchPanel.Grid.lbSearchResults.ClickItem(3);
//Clicks at point (103, 8) of the 'EventSearchResultView' object.
Aliases.SportingBet_Intrabet.HwndSource_IntrabetMainWindow.IntrabetMainWindow.Grid.Grid.windows.eventManagement.grdMain.EventStack.Grid.Grid.Grid.Grid.CurrentSearchPanel.Grid.Grid.lbSearchResults.ListBoxItem.EventSearchResultView.Click(103, 8);
//Clicks at point (373, 5) of the 'EventSearchResultView' object.
Aliases.SportingBet_Intrabet.HwndSource_IntrabetMainWindow.IntrabetMainWindow.Grid.Grid.windows.eventManagement.grdMain.EventStack.Grid.Grid.Grid.Grid.CurrentSearchPanel.Grid.Grid.lbSearchResults.ListBoxItem2.EventSearchResultView.Click(373, 5);

3 Replies