def TEST_test_run_advanced(self):
     first_class = CommandDataClass("COMMENT", "one")
     second_class = CommandDataClass("CONSOLE", "two")
     third_class = CommandDataClass("clickElement", "element")
     command_data_class_array = [first_class, second_class, third_class]
     my_command_data_object = CommandDataObject(command_data_class_array)
     my_command_data_object.set_current_command_data(third_class)
     web_driver = webdriver.Firefox()
     myCommandProcessActionClass = CommandProcessActionClass(web_driver)
     myCommandProcessActionClass.api_command_consumption(
         my_command_data_object)
Esempio n. 2
0
 def __init__(self, the_MainProcessContextObject):
     self.the_MainProcessContextObject = the_MainProcessContextObject
     if self.the_CommandProcessActionClass is None:
         self.the_CommandProcessActionClass = CommandProcessActionClass(
             the_MainProcessContextObject.get_web_driver)