Example #1
0
        internal void Init()
        {
            if (string.IsNullOrEmpty(ComponentName))
            {
                ComponentName = UIComponentResolver.ResolvePageObjectName <TOwner>();
            }

            ComponentTypeName = UIComponentResolver.ResolvePageObjectTypeName <TOwner>();

            Log.Info($"Go to {ComponentFullName}");

            InitComponent();

            if (NavigateOnInit)
            {
                Navigate();
            }

            OnInit();

            ExecuteTriggers(TriggerEvents.Init);

            OnInitCompleted();

            OnVerify();
        }
Example #2
0
        internal void Init()
        {
            Log    = AtataContext.Current.Log;
            Driver = AtataContext.Current.Driver;

            ComponentName     = UIComponentResolver.ResolvePageObjectName <TOwner>();
            ComponentTypeName = UIComponentResolver.ResolvePageObjectTypeName <TOwner>();

            Log.Info("Go to {0}", ComponentFullName);

            OnInit();

            if (NavigateOnInit)
            {
                Navigate();
            }

            InitComponent();

            ExecuteTriggers(TriggerEvents.Init);

            OnVerify();
        }