Press (ALT +SHIFT+T ) together in Katalon

Hi All,

I have a scenario where I need to press ALT+SHIFT+T together so that new screen for batches open in my application. I don’t need object here.

Keys.chord(Keys.ALT,Keys.SHIFT,Keys,‘t’) ;this is not working .

I don’t need below option as I don’t have to enter any text.

//WebUI.sendKeys(findTestObject(‘PolicyCenter/pge_AccountSummary/wel_PolicyHeader’), ‘20’)

Kindly suggest a way out.

Java Robot Class may work for you.
You will need to do some investigation.
Here’s a starting point.

Not sure if the extra comma in your statement above is a copy and paste concern, but you have a comma between the ‘t’ and Keys. Can you check out your original statement to see if it is a comma instead of a period?


Saying that, I think you may need an object in order to “sendKeys” the combination, even if the object is to bring focus to the form. For this you may have to play with various elements. Maybe even create an object that is the top of your xpaths for those hard to reach elements, like id(“mainPage”).

Check @grylion54’s comment, you do have a typo. It should be:

Keys.chord(Keys.ALT, Keys.SHIFT, 't')

If it still doesn’t work, try using selenium:

WebElement element = WebUiCommonHelper.findWebElement(findTestObject("PolicyCenter/pge_AccountSummary/wel_PolicyHeader"), 20)
element.sendKeys(Keys.chord(Keys.ALT, Keys.SHIFT, 't'))