Unable to send keys on page

Hi,

I would like to sendkeys Alt + Arrow.left and i have this error message :

08-09-2019 08:04:11 PM Test Cases/TC_Principale

Elapsed time: 20,859s

Test Cases/TC_Principale FAILED.
Reason:
Repository/PJ/4_Page_Prospect/h1_Titre'
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
	at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
...

i try all thing but it doesnt work :pleading_face::pleading_face::pleading_face::pleading_face::pleading_face::japanese_goblin::japanese_ogre:

This is my code :

WebUI.sendKeys(findTestObject('PJ/4_Page_Prospect/h1_Titre'),Keys.chord(Keys.ALT,Keys.ARROW_LEFT))

I would like to send in page “4_Page_Prospect” only (to return in previous mozilla page)

Try using selenium:

import com.kms.katalon.core.webui.common.WebUiCommonHelper
import org.openqa.selenium.Keys
import org.openqa.selenium.WebElement

WebElement element = WebUiCommonHelper.findWebElement(findTestObject("PJ/4_Page_Prospect/h1_Titre"))
element.sendKeys(Keys.chord(Keys.ALT, Keys.ARROW_LEFT))

Why not WebUI.back() ?

[WebUI] Back

Description

Simulate users clicking “back” button on their browser.

Yes thank u HeleneB but i found it after 6 hours after

Unfortunatetly, this doesn’t work and i don’t know why :

WebElement element = WebUiCommonHelper.findWebElement(findTestObject("PJ/4_Page_Prospect/h1_Titre"))
element.sendKeys(Keys.chord(Keys.ALT, Keys.ARROW_LEFT))

It’s not like UFT