示例#1
0
 public UpdateRecordCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, EntityReference toUpdate,
                            Table criteria)
     : base(crmContext, seleniumContext)
 {
     _toUpdate = toUpdate;
     _criteria = criteria;
 }
示例#2
0
 public AssertFormNotificationsCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, string alias,
                                       Table notificationTable)
     : base(crmContext, seleniumContext)
 {
     _alias             = alias;
     _notificationTable = notificationTable;
 }
示例#3
0
 public QuickCreateTestCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext,
                               string contactAlias, string accountAlias, Table contactCriteria)
     : base(crmContext, seleniumContext)
 {
     _contactAlias    = contactAlias;
     _accountAlias    = accountAlias;
     _contactCriteria = contactCriteria;
 }
 public CreateRecordCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext,
                            string entityLogicalName, Table criteria, string alias)
     : base(crmContext, seleniumContext)
 {
     _entityLogicalName = entityLogicalName;
     _criteria          = criteria;
     _alias             = alias;
 }
示例#5
0
 public ClickSubgridButtonCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext,
                                  string parentAlias, string tabName, string subgridName, string gridButtonId) : base(crmContext, seleniumContext)
 {
     _parentAlias  = parentAlias;
     _tabName      = tabName;
     _subgridName  = subgridName;
     _gridButtonId = gridButtonId;
 }
示例#6
0
 public CloseOpportunityCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext,
                                string alias, Table closeData) : base(crmContext, seleniumContext)
 {
     _alias     = alias;
     _closeData = closeData;
 }
示例#7
0
 public GeneralSteps(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext)
 {
     _crmContext      = crmContext;
     _seleniumContext = seleniumContext;
 }
示例#8
0
 public ReviseQuoteCommand(CrmTestingContext crmContext, SeleniumTestingContext selenumContext, string toReviseAlias, string newQuoteAlias)
     : base(crmContext, selenumContext)
 {
     _toReviseAlias = toReviseAlias;
     _newQuoteAlias = newQuoteAlias;
 }
示例#9
0
 public BrowserOnlyCommandFunc(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext)
 {
     _crmContext      = crmContext;
     _seleniumContext = seleniumContext;
 }
 public AssertErrorDialogCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, string expectedError)
     : base(crmContext, seleniumContext)
 {
     _expectedError = expectedError;
 }
示例#11
0
 public DeleteRecordCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, string alias)
     : base(crmContext, seleniumContext)
 {
     _toDelete = crmContext.RecordCache.Get(alias, true);
     _alias    = alias;
 }
示例#12
0
 public AssertFormStateCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, EntityReference crmRecord, Table visibilityCriteria) :
     base(crmContext, seleniumContext)
 {
     _crmRecord          = crmRecord;
     _visibilityCriteria = visibilityCriteria;
 }
 public AssertRibbonStateCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, string alias, Table ribbonState)
     : base(crmContext, seleniumContext)
 {
     _alias       = alias;
     _ribbonState = ribbonState;
 }
 public ConvertToSalesOrderCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext, string quoteAlias, string orderAlias)
     : base(crmContext, seleniumContext)
 {
     _alias      = quoteAlias;
     _orderAlias = orderAlias;
 }
示例#15
0
 public MoveToNextBusinessProcessStageCommand(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext,
                                              string alias) : base(crmContext, seleniumContext)
 {
     _alias = alias;
 }
示例#16
0
 public UISteps(SeleniumTestingContext seleniumContext, CrmTestingContext crmContext)
 {
     _crmContext      = crmContext;
     _seleniumContext = seleniumContext;
 }
示例#17
0
 public UnitTestSteps(CrmTestingContext crmContext, SeleniumTestingContext seleniumContext)
 {
     _crmContext      = crmContext;
     _seleniumContext = seleniumContext;
 }
示例#18
0
 public OpportunitySteps(CrmTestingContext crmContext, SeleniumTestingContext selenumContext)
 {
     _crmContext     = crmContext;
     _selenumContext = selenumContext;
 }
示例#19
0
 public ActivateQuoteCommand(CrmTestingContext crmContext, SeleniumTestingContext selenumContext, string alias)
     : base(crmContext, selenumContext)
 {
     _alias = alias;
 }
示例#20
0
 public QuoteSteps(CrmTestingContext crmContext, SeleniumTestingContext selenumContext)
 {
     _crmContext     = crmContext;
     _selenumContext = selenumContext;
 }