예제 #1
0
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            // obj.FC(Vs2019.GetSetting("", TestContext));
            BSOtherObjects obj = new BSOtherObjects();

            _errOut        = @"";
            _databasePath  = Vs2019.GetSetting("DatabasePath", TestContext);
            _gunId         = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            _buyerName     = obj.FC(Vs2019.GetSetting("Buyer_Name", TestContext));
            _buyerAddress1 = obj.FC(Vs2019.GetSetting("Buyer_Address1", TestContext));
            _buyerAddress2 = obj.FC(Vs2019.GetSetting("Buyer_Address2", TestContext));
            _buyerCity     = obj.FC(Vs2019.GetSetting("Buyer_City", TestContext));
            _buyerState    = obj.FC(Vs2019.GetSetting("Buyer_State", TestContext));
            _buyerZipCode  = obj.FC(Vs2019.GetSetting("Buyer_ZipCode", TestContext));
            _buyerPhone    = obj.FC(Vs2019.GetSetting("Buyer_Phone", TestContext));
            _buyerCountry  = obj.FC(Vs2019.GetSetting("Buyer_Country", TestContext));
            _buyerEMail    = obj.FC(Vs2019.GetSetting("Buyer_eMail", TestContext));
            _buyerLic      = obj.FC(Vs2019.GetSetting("Buyer_Lic", TestContext));
            _buyerDLic     = obj.FC(Vs2019.GetSetting("Buyer_dLic", TestContext));
            _buyerDob      = obj.FC(Vs2019.GetSetting("Buyer_DOB", TestContext));
            _buyerResident = obj.FC(Vs2019.GetSetting("Buyer_Resident", TestContext));
            _buyerFax      = obj.FC(Vs2019.GetSetting("Buyer_Fax", TestContext));
            _buyerWebSite  = obj.FC(Vs2019.GetSetting("Buyer_WebSite", TestContext));
        }
예제 #2
0
 public void Init()
 {
     // Vs2019.GetSetting("", TestContext);
     _errOut       = @"";
     _databasePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Vs2019.GetSetting("DatabasePath", TestContext));
     _gunId        = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
     _saveToFile   = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "unittest_fiream.xml");
 }
 public void Init()
 {
     // Vs2019.GetSetting("", TestContext);
     BSOtherObjects obj = new BSOtherObjects();
     _errOut = @"";
     _databasePath = Vs2019.GetSetting("DatabasePath", TestContext);
     _gunId = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
     _appraisersName = obj.FC(Vs2019.GetSetting("Appraisers_Name", TestContext));
 }
 public void Init()
 {
     // Vs2019.GetSetting("", TestContext);
     _errOut        = @"";
     _databasePath  = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Vs2019.GetSetting("DatabasePath", TestContext));
     _gunId         = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
     _ownerId       = Vs2019.IGetSetting("OwnerId", TestContext);
     _xmlImportFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Vs2019.GetSetting("XMLImport2", TestContext));
 }
예제 #5
0
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut       = @"";
            _databasePath = Vs2019.GetSetting("DatabasePath", TestContext);
            Ammo_Id       = Vs2019.IGetSetting("Ammo_Id", TestContext);
        }
예제 #6
0
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut          = @"";
            _databasePath    = Vs2019.GetSetting("DatabasePath", TestContext);
            _crColumnTableId = Vs2019.IGetSetting("CR_Column_TableId", TestContext);
            //_crColumnDisplayName = obj.FC(Vs2019.GetSetting("CR_Column_DisplayName", TestContext));
        }
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            _errOut = @"";
            BSOtherObjects obj = new BSOtherObjects();

            _databasePath         = Vs2019.GetSetting("DatabasePath", TestContext);
            _modelsName           = obj.FC(Vs2019.GetSetting("Models_Name", TestContext));
            _modelsManufacturerId = Vs2019.IGetSetting("Models_ManufacturerId", TestContext);
        }
예제 #8
0
 public void Init()
 {
     // Vs2019.GetSetting("", TestContext);
     _errOut             = @"";
     _databasePath       = Vs2019.GetSetting("DatabasePath", TestContext);
     _ammoManufacturer   = Vs2019.GetSetting("Ammo_Manufacturer", TestContext);
     _ammoName           = Vs2019.GetSetting("Ammo_Name", TestContext);
     _ammoCaliber        = Vs2019.GetSetting("Ammo_Caliber", TestContext);
     _ammoGrain          = Vs2019.GetSetting("Ammo_Grain", TestContext);
     _ammoJacket         = Vs2019.GetSetting("Ammo_Jacket", TestContext);
     _ammoQty            = Vs2019.IGetSetting("Ammo_Qty", TestContext);
     _ammoDCal           = Vs2019.IGetSetting("Ammo_DCal", TestContext);
     _ammoVelocityNumber = Vs2019.IGetSetting("Ammo_VelocityNumber", TestContext);
 }
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut                 = @"";
            _databasePath           = Vs2019.GetSetting("DatabasePath", TestContext);
            _gunId                  = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            _gunSmithName           = obj.FC(Vs2019.GetSetting("GunSmith_Name", TestContext));
            _gunDetailsOrderDetails = obj.FC(Vs2019.GetSetting("GunDetails_OrderDetails", TestContext));
            _gunDetailsNotes        = obj.FC(Vs2019.GetSetting("GunDetails_Notes", TestContext));
            _gunDetailsStartDate    = Vs2019.GetSetting("GunDetails_StartDate", TestContext);
            _gunDetailsReturnDate   = Vs2019.GetSetting("GunDetails_ReturnDate", TestContext);
        }
 public void Init()
 {
     // Vs2019.GetSetting("", TestContext);
     _errOut                             = @"";
     _databasePath                       = Vs2019.GetSetting("DatabasePath", TestContext);
     _gunId                              = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
     _maintenanceDetailsPlanId           = Vs2019.IGetSetting("MaintenanceDetails_PlanId", TestContext);
     _maintenanceDetailsName             = Vs2019.GetSetting("MaintenanceDetails_Name", TestContext);
     _maintenanceDetailsOperationDate    = Vs2019.GetSetting("MaintenanceDetails_OperationDate", TestContext);
     _maintenanceDetailsOperationDueDate = Vs2019.GetSetting("MaintenanceDetails_OperationDueDate", TestContext);
     _maintenanceDetailsRoundsFired      = Vs2019.IGetSetting("MaintenanceDetails_RoundsFired", TestContext);
     _maintenanceDetailsNotes            = Vs2019.GetSetting("MaintenanceDetails_Notes", TestContext);
     _maintenanceDetailsBarrelSystemId   = Vs2019.IGetSetting("MaintenanceDetails_BarrelSystemId", TestContext);
     _maintenanceDetailsDoesCount        = Vs2019.BGetSetting("MaintenanceDetails_DoesCount", TestContext);
 }
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut         = @"";
            _databasePath   = Vs2019.GetSetting("DatabasePath", TestContext);
            _gunId          = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            Doc_Title       = obj.FC(Vs2019.GetSetting("Doc_Title", TestContext));
            Doc_Description = obj.FC(Vs2019.GetSetting("Doc_Description", TestContext));
            Doc_Category    = obj.FC(Vs2019.GetSetting("Doc_Category", TestContext));
            Doc_Ext         = obj.FC(Vs2019.GetSetting("Doc_Ext", TestContext));
            Doc_Path        = Vs2019.GetSetting("Doc_Path", TestContext);
            Doc_Ext_Number  = Convert.ToInt32(Vs2019.GetSetting("Doc_Ext_Number", TestContext));
        }
예제 #12
0
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut         = @"";
            _databasePath   = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Vs2019.GetSetting("DatabasePath", TestContext));
            _gunId          = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            _shopOldName    = obj.FC(Vs2019.GetSetting("MyGunCollection_ShopOldName", TestContext));
            _shopNewName    = obj.FC(Vs2019.GetSetting("MyGunCollection_ShopNewName", TestContext));
            _fullName       = "Glock Super Carry";
            _serialNumber   = "RIA2323423";
            _manufacturesId = Manufacturers.GetId(_databasePath, "Glock", out _errOut);
            _modelId        = Models.GetId(_databasePath, "G26", _manufacturesId, out _errOut);
            _nationalityId  = Nationality.GetId(_databasePath, "USA", out _errOut);
            _gripId         = Grips.GetId(_databasePath, "Plastic", out _errOut);
            _soldGunId      = Vs2019.IGetSetting("SoldFirearmId", TestContext);
        }
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut                  = @"";
            _databasePath            = Vs2019.GetSetting("DatabasePath", TestContext);
            _gunId                   = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            _accessoriesManufacturer = obj.FC(Vs2019.GetSetting("Accessories_Manufacturer", TestContext));
            _accessoriesName         = obj.FC(Vs2019.GetSetting("Accessories_Name", TestContext));
            _accessoriesSerialNumber = obj.FC(Vs2019.GetSetting("Accessories_serialNumber", TestContext));
            _accessoriesCondition    = obj.FC(Vs2019.GetSetting("Accessories_condition", TestContext));
            _accessoriesNotes        = obj.FC(Vs2019.GetSetting("Accessories_notes", TestContext));
            _accessoriesUse          = obj.FC(Vs2019.GetSetting("Accessories_use", TestContext));
            _accessoriesPurValue     = Vs2019.DGetSetting("Accessories_purValue", TestContext);
            _accessoriesAppValue     = Vs2019.DGetSetting("Accessories_appValue", TestContext);
            _accessoriesCiv          = Vs2019.BGetSetting("Accessories_civ", TestContext);
            _accessoriesIc           = Vs2019.BGetSetting("Accessories_ic", TestContext);
        }
        public void Init()
        {
            // Vs2019.GetSetting("", TestContext);
            BSOtherObjects obj = new BSOtherObjects();

            _errOut                          = @"";
            _databasePath                    = Vs2019.GetSetting("DatabasePath", TestContext);
            _gunId                           = Vs2019.IGetSetting("MyGunCollectionID", TestContext);
            _barrelConvoKitDefaultId         = Vs2019.IGetSetting("BarrelConvoKit_DefaultId", TestContext);
            _barrelConvoKitAddModelName      = Vs2019.GetSetting("BarrelConvoKit_Add_ModelName", TestContext);
            _barrelConvoKitAddCaliber        = Vs2019.GetSetting("BarrelConvoKit_Add_Caliber", TestContext);
            _barrelConvoKitAddFinish         = Vs2019.GetSetting("BarrelConvoKit_Add_Finish", TestContext);
            _barrelConvoKitAddBarrelLength   = Vs2019.GetSetting("BarrelConvoKit_Add_BarrelLength", TestContext);
            _barrelConvoKitAddPetLoads       = Vs2019.GetSetting("BarrelConvoKit_Add_PetLoads", TestContext);
            _barrelConvoKitAddAction         = Vs2019.GetSetting("BarrelConvoKit_Add_Action", TestContext);
            _barrelConvoKitAddFeedsystem     = Vs2019.GetSetting("BarrelConvoKit_Add_Feedsystem", TestContext);
            _barrelConvoKitAddSights         = Vs2019.GetSetting("BarrelConvoKit_Add_Sights", TestContext);
            _barrelConvoKitAddPurchasedPrice = Vs2019.GetSetting("BarrelConvoKit_Add_PurchasedPrice", TestContext);
            _barrelConvoKitAddPurchasedFrom  = obj.FC(Vs2019.GetSetting("BarrelConvoKit_Add_PurchasedFrom", TestContext));
            _barrelConvoKitAddHeight         = Vs2019.GetSetting("BarrelConvoKit_Add_Height", TestContext);
            _barrelConvoKitAddType           = Vs2019.GetSetting("BarrelConvoKit_Add_Type", TestContext);
            _barrelConvoKitAddIsDefault      = Vs2019.BGetSetting("BarrelConvoKit_Add_IsDefault", TestContext);
        }