public void GivenIAddAConstituentAd_HocQuery() { //navigate to Analysis>Info Library BBCRMHomePage.OpenAnalysisFA(); AnalysisFunctionalArea.OpenLink("Information library"); //create new Constituent type query Panel.ClickButton("Add an ad-hoc query"); //QuerySourceViewDialog.SetRecordType("Constituents"); QuerySourceViewDialog.SelectRecordTypeName("Constituents"); QuerySourceViewDialog.ClickButton("OK"); }
public void WhenIAddAAd_HocQuery(string queryType) { // Open the Analysis functional Area BBCRMHomePage.OpenAnalysisFA(); // Open the QueryPanel 4.0 (Information Library) AnalysisFunctionalArea.OpenLink("Information library"); Panel.ClickButton("Add an ad-hoc query"); // Select the record type we're intersted in QuerySourceViewDialog.SetRecordType(queryType); QuerySourceViewDialog.SelectRecordTypeName(queryType); QuerySourceViewDialog.ClickButton("OK"); }