Log In Button Not identified

Hello,
a new problem while trying to automate a new application… Log in button seems to be clickable, but click does not work.

I tryied directly using Object repository and code after recording, and using code bellow.

Log In

TestObject to_Cart = new TestObject(‘objectName_Cart’)
to_Cart.addProperty(‘tag’, ConditionType.EQUALS, ‘button’)
to_Cart.addProperty(‘class’, ConditionType.EQUALS, ‘enyo-tool-decorator btnlink btnlink-gray modal-dialog-button’)
to_Cart.addProperty(‘id’, ConditionType.EQUALS, ‘terminal_containerWindow_login_loginButton’)
to_Cart.addProperty(‘text’, ConditionType.EQUALS, ‘Log In’)

def icliquable = WebUI.waitForElementClickable(to_Cart, 5)
WebUI.click(to_Cart)

2020-01-27 17:10:22.591 DEBUG c.k.k.c.webui.common.WebUiCommonHelper - Finding web element from Test Object’s properties
2020-01-27 17:10:22.591 DEBUG c.kms.katalon.core.helper.KeywordHelper - Checking timeout
2020-01-27 17:10:22.592 DEBUG c.k.k.c.webui.common.WebUiCommonHelper - Finding web element with id: ‘’ located by ‘By.xpath: //[@id = ‘terminal_containerWindow_login_loginButton’ and (text() = ‘Log In’ or . = ‘Log In’)]’ in ‘30’ second(s)
2020-01-27 17:10:22.842 DEBUG c.k.k.c.webui.common.WebUiCommonHelper - Found 1 web elements with id: ‘’ located by 'By.xpath: //
[@id = ‘terminal_containerWindow_login_loginButton’ and (text() = ‘Log In’ or . = ‘Log In’)]’ in ‘30’ second(s)
2020-01-27 17:10:22.842 DEBUG c.kms.katalon.core.helper.KeywordHelper - Checking timeout
2020-01-27 17:10:22.843 DEBUG c.k.k.c.w.keyword.builtin.ClickKeyword - Clicking on object: ‘’
2020-01-27 17:10:25.255 DEBUG c.k.k.c.w.keyword.builtin.ClickKeyword - ? Object: ‘’ is clicked on
2020-01-27 17:10:25.256 TRACE c.k.katalon.core.main.TestCaseExecutor - END null: click(Btn)
2020-01-27 17:10:25.256 DEBUG c.k.katalon.core.main.TestCaseExecutor - ? Test Cases/Web UI Tests/Advance Tests/Pages/Login Page/Login with username and password
2020-01-27 17:10:25.256 INFO c.k.katalon.core.main.TestCaseExecutor - END CALL Test Cases/Web UI Tests/Advance Tests/Pages/Login Page/Login with username and password

I am using chrome Version 79, and the editor solution Requires at least 75, recommended 76 or higher.

Any help ?
Tks in advance.
Arnaud

@arnaud.cognard Can you please post the HTML of the button? Or if the website is accessible to the public can you please pass the link to that. There might be a problem with selector

hello
sorry, i forgot the html content !
I deleted 2 ‘<’ in the html bellow: <div & <button

div class=“login-inputs-loginbutton” id=“terminal_containerWindow_login_loginButtonContainer”>
button style=“min-width: 115px;” class=“enyo-tool-decorator btnlink btnlink-gray modal-dialog-button” id=“terminal_containerWindow_login_loginButton”>Log In

tks in advance for your help.

I tryied to record using chrome plugin.

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory
import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords
import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords
import internal.GlobalVariable as GlobalVariable
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

import com.thoughtworks.selenium.Selenium
import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.WebDriver
import com.thoughtworks.selenium.webdriven.WebDriverBackedSelenium
import static org.junit.Assert.*
import java.util.regex.Pattern
import static org.apache.commons.lang3.StringUtils.join

WebUI.openBrowser(‘https://…myapp’)
def driver = DriverFactory.getWebDriver()
String baseUrl = “https://…myapp”
selenium = new WebDriverBackedSelenium(driver, baseUrl)
selenium.setText(“id=terminal_containerWindow_login_username”, “Openbravo”)
selenium.setText(“id=terminal_containerWindow_login_password”, “openbravo”)
selenium.click(“id=terminal_containerWindow_login_loginButton”)

It works fine if I play this code back directly using plugin, but if i export in katalon format, setText is not accepted …

tks for any input.