Example #1
0
 def __init__(self):
     self._selena_log_listener = selena_logger.selenaLogger()
     self.selena_root = selena_directory.SelenaDir().init_root_dir()
     self.assets_dir = selena_directory.SelenaDir().init_assets()
     self.reports_dir = selena_directory.SelenaDir().init_reports()
     self.diary_log = selena_directory.SelenaDir().init_log_diary()
     self.file_repo = selena_directory.SelenaDir().init_file_repo()
     self.snapshot = selena_directory.SelenaDir().init_snapshot_dir()
     self.selena_preferences = selenapreferences.fetch_core_preferences()
Example #2
0
 def __init__(self):
     self._selena_log_listener = selena_logger.selenaLogger()
     self.selena_preference = selenapreferences.fetch_core_preferences()
     self.f_name_index = random.randint(0, 4)
     self.l_name_index = random.randint(0, 4)
     self.address_index = random.randint(0, 6)
     self.map_index = random.randint(0, 1)
     self.m_prefix_names = ["John", "Jose", "Remy", "Meka", "Toshi"]
     self.f_prefix_names = ["Jane", "Pamela", "Danielle", "Ada", "Nisha"]
     self.suffix_names = ["Smith", "Nakamura", "Bourne", "Cartier", "Tesla"]
     self.address_names = [
         "Seymour", "Empiaur", "Main", "Chapel", "Evergreen", "Wisteria",
         "Square One"
     ]
     self.address_types = [
         "Street", "Avenue", "Drive", "Crescent", "Boulevard", "Terrace",
         "Lane"
     ]
     self.region_map = {
         "NAmerica": ["Canada", "Mexico"],
         "SAmerica": ["Brazil", "Argentina"],
         "Europe": ["France", "Netherlands"],
         "NAfrica": ["Morocco", "Algeria"],
         "WAfrica": ["Nigeria", "Ghana"],
         "EAfrica": ["Ethiopia", "Kenya"],
         "SAfrica": ["South Africa", "Angola"]
     }
     self.province_map = {
         "NAmerica": ["British Columbia", "Quintana Roo"],
         "SAmerica": ["Santa Catarina", "Buenos Aires"],
         "Europe": ["Île-de-France", "Drenthe"],
         "NAfrica": ["Casablanca-Settat"],
         "WAfrica": ["Lagos", "Ashanti"],
         "EAfrica": ["Oromia", "Nairobi"],
         "SAfrica": ["Gauteng", "Luanda"]
     }
     self.city_map = {
         "NAmerica": ["Vancouver", "Cancún"],
         "SAmerica": ["Florianópolis", "La Plata"],
         "Europe": ["Paris", "Assen"],
         "NAfrica": ["Casablanca", "Algiers"],
         "WAfrica": ["Lagos", "Kumasi"],
         "EAfrica": ["Addis Ababa", "Nairobi"],
         "SAfrica": ["Johannesburg", "Luanda"]
     }
     self.postal_code_map = {
         "NAmerica": ["V6B 1B4", "77500"],
         "SAmerica": ["88000-000", "B1900"],
         "Europe": ["75000", "9401"],
         "NAfrica": ["20240", "16000"],
         "WAfrica": ["105102", "00000"],
         "EAfrica": ["1000", "00100"],
         "SAfrica": ["2000", "46703"]
     }
     self.random_source = string.ascii_letters + string.digits + string.punctuation
     self.f_name = None
Example #3
0
 def __init__(self):
     self.scout = element_agent.DOMElementAgent()
     self._selena_preferences = selenapreferences.fetch_core_preferences()
     self._selena_log_listener = selena_logger.selenaLogger()
Example #4
0
 def __init__(self):
     self.init_assets = __selena_directory__.SelenaDir().init_assets()
     self.log_listener = selena_logger.selenaLogger()
     self.selena_preference = selenapreferences.fetch_core_preferences()
     self.element_scout = element_agent.DOMElementAgent()
Example #5
0
 def __init__(self):
     self._selena_log_listener = selena_logger.selenaLogger()