Copyright (C) Microsoft Corporation. Todos os direitos reservados. Experimente a nova plataforma cruzada PowerShell https://aka.ms/pscore6 PS R:\my projects\Nayara\VSCode Workspace Teste> cd 'r:\my projects\Nayara\VSCode Workspace Teste'; ${env:PYTHONIOENCODING}='UTF-8'; ${env:PYTHONUNBUFFERED}='1'; & 'C:\Python36\python.exe' 'c:\Users\Nayara Lopes\.vscode\extensions\ms-python.python-2019.6.24221\pythonFiles\ptvsd_launcher.py' '--default' '--nodebug' '--client' '--host' 'localhost' '--port' '59974' 'r:\my projects\Nayara\VSCode Workspace Teste\MATA410TESTCASE.py'Starting the browser r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\core\base.py:886: DeprecationWarning: use setter for headless property instead of set_headless options.set_headless(self.config.headless) r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\core\base.py:887: DeprecationWarning: use service_log_path instead of log_path self.driver = webdriver.Firefox(firefox_options=options, executable_path=driver_path, log_path=log_path) r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\core\base.py:887: DeprecationWarning: use options instead of firefox_options self.driver = webdriver.Firefox(firefox_options=options, executable_path=driver_path, log_path=log_path) Filling Initial Program Filling Environment Filling User Filling Password Waiting ajax blocker to continue... Filling Date Filling Group Filling Branch Filling Environment Navigating lateral menu: Ajuda > Sobre Clicking on Fechar Navigating lateral menu: Atualizações > Pedidos > Pedidos de Venda Clicking on Incluir Looking for element: C5_TIPO Selected value for combo is: N - Normal Looking for element: C5_CLIENTE Current field value: 000026 Looking for element: C5_XXORIG Selected value for combo is: N - Nota Fiscal Looking for element: C5_CONDPAG Current field value: 001 Looking for element: C5_VEND1 Current field value: 000012 Looking for element: C5_PLACA Current field value: AAB3189 Looking for element: C5_MOTORIS Current field value: 011772 Key pressed: C:\Python36\lib\site-packages\pandas\core\generic.py:5096: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy self[name] = value Filling grid field: C6_PRODUTO Filling grid field: C6_QTDVEN Filling grid field: C6_PRCVEN Filling grid field: C6_TES Filling grid field: C6_PRODUTO Filling grid field: C6_QTDVEN Filling grid field: C6_PRCVEN Filling grid field: C6_TES Clicking on Salvar Clicking on Sim Clicking on Ok Log file created successfully: Log\Nayara-PC\Nayara Lopes_6649e1822f9b46479379f649dfe03af7_auto.csv FE ====================================================================== ERROR: tearDownClass (__main__.MATA410) ---------------------------------------------------------------------- Traceback (most recent call last): File "r:\my projects\Nayara\VSCode Workspace Teste\MATA410TESTCASE.py", line 89, in tearDownClass inst.oHelper.TearDown() File "r:\my projects\Nayara\VSCode Workspace Teste\tir\main.py", line 692, in TearDown self.__webapp.TearDown() File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 4089, in TearDown self.driver.close() File "C:\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 688, in close self.execute(Command.CLOSE) File "C:\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "C:\Python36\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidSessionIdException: Message: Tried to run command without establishing a connection ====================================================================== FAIL: test_MATA410_001 (__main__.MATA410) ---------------------------------------------------------------------- Traceback (most recent call last): File "r:\my projects\Nayara\VSCode Workspace Teste\MATA410TESTCASE.py", line 56, in test_MATA410_001 self.oHelper.SetButton('Ok') File "r:\my projects\Nayara\VSCode Workspace Teste\tir\main.py", line 477, in SetButton self.__webapp.SetButton(button, sub_item, position, check_error=check_error) File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 1682, in SetButton self.wait_element_timeout(term=button, scrap_type=enum.ScrapType.MIXED, optional_term="button, .thbutton", timeout=10, step=0.1, check_error=check_error) File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 3277, in wait_element_timeout if self.element_exists(term, scrap_type, position, optional_term, main_container, check_error): File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 1562, in element_exists element_list = self.web_scrap(term=term, scrap_type=scrap_type, optional_term=optional_term, main_container=main_container, check_error=check_error) File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 1333, in web_scrap self.search_for_errors(soup) File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 1426, in search_for_errors self.log_error(message) File "r:\my projects\Nayara\VSCode Workspace Teste\tir\technologies\webapp_internal.py", line 3599, in log_error self.assertTrue(False, log_message) AssertionError: False is not true : 001 - Error Log: Server down. ---------------------------------------------------------------------- Ran 1 test in 214.337s FAILED (failures=1, errors=1) PS R:\my projects\Nayara\VSCode Workspace Teste>