totvs/tir

Erro ao usar a função self.oHelper.GetText()

Closed this issue · 0 comments

A partir da versão v1.20.1 a função self.oHelper.GetText() passou a gerar erro.

Log:

ERROR: test_LOJA701_INC (LOJA701TESTCASE.LOJA701)

Traceback (most recent call last):
File "C:\fontes\microsiga\tir-master\SIGALOJA\LOJA701\LOJA701TESTCASE.py", line 42, in test_LOJA701_INC
cText = self.oHelper.GetText()
File "C:\Python\Python37\lib\site-packages\tir\main.py", line 1011, in GetText
return self.__webapp.GetText(string_left, string_right)
File "C:\Python\Python37\lib\site-packages\tir\technologies\webapp_internal.py", line 8595, in GetText
return self.get_text(string_left, string_right)
File "C:\Python\Python37\lib\site-packages\tir\technologies\webapp_internal.py", line 8615, in get_text
label = next(iter(list(filter(lambda x: string.lower() in x.text.lower(), labels))))
StopIteration


Ran 1 test in 64.003s