joffre
14 years agoRegular Contributor
Logical doubt
retornoCadastrar2 = Aliases.iexplore.pageFpwebFolhaDePagamento.frameFrame2.formForm1.table2.cellEncargoNOCadastrado.innerText
If retornoCadastrar <> retornoCadastrar2 Then
Log.Error("Falha na inserção")
Else
Log.Message(retornoCadastrar)
End If
I have the code above that isn't working as it was supposed to be.
The variable "retornoCadastrar" is being initialized with the value "Inserted Successfully" and retornoCadastrar2 is receiving the same value, but instead of entering the Log.Message statement, it is going to Log.Error.
What am I doing wrong?