# Katalon Code Failing in Jenkins but passing in Command Prompt

**URL:** <https://forum.katalon.com/t/katalon-code-failing-in-jenkins-but-passing-in-command-prompt/20711>\
**Category:** Miscellaneous\
**Tags:** integrations\
**Created:** [March 7, 2019, 3:02pm UTC](https://forum.katalon.com/t/katalon-code-failing-in-jenkins-but-passing-in-command-prompt/20711 "2019-03-07T15:02:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srilakshmi](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@srilakshmi](https://forum.katalon.com/u/srilakshmi)\
**Post date:** [March 7, 2019, 3:02pm UTC](https://forum.katalon.com/t/katalon-code-failing-in-jenkins-but-passing-in-command-prompt/20711/1 "2019-03-07T15:02:13Z")

</div>

Hi all, I need a help,its urgent. The Katalon code in jenkis fails , but the same code works like a charm in Katalon Command Prompt.

Please find the error below

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/d/d9e201456506a01a7aa8f8609445e11c6a507c55.png)

Please let me know if u need any details i am ready to share.

I have even tried “WebUI.setViewPortSize(1920, 1080)” but did not work. The check box is below when the page is loaded so i have given the scrolling but nothing worked.

Thanks in Advance!!

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [March 7, 2019, 3:07pm UTC](https://forum.katalon.com/t/katalon-code-failing-in-jenkins-but-passing-in-command-prompt/20711/2 "2019-03-07T15:07:14Z")

</div>

Maybe there is some additional overhead (slowing things down a little) while running from Jenkins?

Try ensuring the element is ready to receive input from the test by waiting until it is visible:

[https://docs.katalon.com/katalon-studio/docs/webui-wait-for-element-visible.html](https://docs.katalon.com/katalon-studio/docs/webui-wait-for-element-visible.html)
