The middle link is not getting clicked in IE 11 ( it just skips to the next line) and there is no error. The link above and below the change password link works in IE 11 and all the links are clicked in chrome.
Tried adding as below but got error in IE
WebUI.waitForElementVisible(‘Object Repository/Page_/a_Change Password’, 10)
WebUI.waitForElementClickable(‘Object Repository/Page_/a_Change Password’, 10)
Tried changing to
WebUI.clickOffset(‘Object Repository/Page_/a_Change Password’, 5, 5)
but then I get below error:
No signature of method: static com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.clickOffset() is applicable for argument types: (java.lang.String, java.lang.Integer, java.lang.Integer) values: [Object Repository/Page_/a_Change Password, 5, 5]
Possible solutions: clickOffset(com.kms.katalon.core.testobject.TestObject, int, int), clickOffset(com.kms.katalon.core.testobject.TestObject, int, int, com.kms.katalon.core.model.FailureHandling)
at Emro_Prod_Obj_links.run(Emro_Prod_Obj_links:40)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563981620685.run(TempTestCase1563981620685.groovy:21)
When I click the Change Password on the web page manually - it works but not if I type :
document.getElementById(‘lnkLogoff’).click in console and press the green arrow button
Just realized that my format for WebUI.clickOffset(‘Object Repository/Page_/a_Change Password’, 5, 5) was
wrong. the last two are co-ordinates i.e 5,5. How do I find co-ordinates of Change Password on the web page?
will retry replacing click with clickOffset if i can get co-ordinates to work…