# Katalon unable to enter value at TextBox of Iframe

**URL:** <https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209>\
**Category:** Miscellaneous\
**Created:** [September 13, 2018, 8:24pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209 "2018-09-13T20:24:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 13, 2018, 8:24pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/1 "2018-09-13T20:24:54Z")

</div>

Somehow katalon unable to enter values in text box ,tried both ways using  
1)Katalon Recorder and  
2)Manual coding

Basically text box is under of Iframe

Here is Error logs  
09-13-2018 01:18:28 PM - [START] - Start Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount  
09-13-2018 01:18:28 PM - [INFO] - Evaluating variables for test case  
09-13-2018 01:18:28 PM - [START] - Start action : openBrowser  
09-13-2018 01:18:28 PM - [INFO] - Opening browser  
09-13-2018 01:18:28 PM - [INFO] - Starting ‘Chrome’ driver  
09-13-2018 01:18:28 PM - [INFO] - Action delay is set to 0 seconds  
Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 48942  
Only local connections are allowed.  
Sep 13, 2018 1:18:32 PM org.openqa.selenium.remote.ProtocolHandshake createSession  
INFO: Detected dialect: OSS  
09-13-2018 01:18:32 PM - [RUN\_DATA] - Logging run data ‘sessionId’ with value ‘2f3d010df3bd41e4b37c75bb99c35e89’  
09-13-2018 01:18:32 PM - [RUN\_DATA] - Logging run data ‘browser’ with value ‘Chrome 68.0.3440.106’  
09-13-2018 01:18:32 PM - [RUN\_DATA] - Logging run data ‘platform’ with value ‘Windows 10’  
09-13-2018 01:18:32 PM - [RUN\_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’  
09-13-2018 01:18:32 PM - [RUN\_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO\_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’  
09-13-2018 01:18:32 PM - [PASSED] - Browser is opened with url: ‘’  
09-13-2018 01:18:32 PM - [END] - End action : openBrowser  
09-13-2018 01:18:32 PM - [START] - Start action : navigateToUrl  
09-13-2018 01:18:32 PM - [INFO] - Checking url  
09-13-2018 01:18:32 PM - [INFO] - Navigating to ‘[https://webr12accountss.com/](https://webr12accountss.com/)’  
09-13-2018 01:18:33 PM - [PASSED] - Navigate to ‘[https://webr12accountscom/](https://webr12accountscom/)’ successfully  
09-13-2018 01:18:33 PM - [END] - End action : navigateToUrl  
09-13-2018 01:18:33 PM - [START] - Start action : click  
09-13-2018 01:18:33 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Account/button\_Create Account’  
09-13-2018 01:18:33 PM - [INFO] - Checking object  
09-13-2018 01:18:33 PM - [INFO] - Checking timeout  
09-13-2018 01:18:33 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-13-2018 01:18:33 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-13-2018 01:18:33 PM - [INFO] - Clicking on object: ‘Object Repository/Page\_Create Your Account/button\_Create Account’  
09-13-2018 01:18:33 PM - [PASSED] - Object: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ is clicked on  
09-13-2018 01:18:33 PM - [END] - End action : click  
09-13-2018 01:18:33 PM - [START] - Start action : setText  
09-13-2018 01:18:33 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’  
09-13-2018 01:18:33 PM - [INFO] - Checking object  
09-13-2018 01:18:33 PM - [INFO] - Checking text  
09-13-2018 01:18:33 PM - [INFO] - Checking timeout  
09-13-2018 01:18:33 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ in ‘30’ second(s)  
09-13-2018 01:19:05 PM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ using heuristic method. Matching attributes: [tag].  
09-13-2018 01:19:05 PM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.  
09-13-2018 01:19:05 PM - [INFO] - You should consult our guide in choosing attributes : [https://docs.katalon.com/x/fhlO](https://docs.katalon.com/x/fhlO)  
09-13-2018 01:19:05 PM - [INFO] - Web element found by trial and error method is not used because we can’t guarantee it reflects the intended element.  
09-13-2018 01:19:06 PM - [FAILED] - Unable to set text ‘flakiness’ of object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ not found)  
09-13-2018 01:19:06 PM - [END] - End action : setText  
09-13-2018 01:19:06 PM - [FAILED] - Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘flakiness’ of object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ not found)  
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:65)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$2.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)  
at Script1536857306109.run(Script1536857306109.groovy:22)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)  
at TempTestCase1536869905716.run(TempTestCase1536869905716.groovy:22)  
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)  
at groovy.lang.GroovyShell.run(GroovyShell.java:518)  
at groovy.lang.GroovyShell.run(GroovyShell.java:507)  
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)  
at groovy.ui.GroovyMain.run(GroovyMain.java:384)  
at groovy.ui.GroovyMain.process(GroovyMain.java:370)  
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)  
at groovy.ui.GroovyMain.main(GroovyMain.java:109)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)  
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)  
)  
09-13-2018 01:19:06 PM - [END] - End Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount

Here is element HTML

============================================= ![](https://s3.amazonaws.com/katalon-forum/editor/pr/dzult3syisph.png "Image: https://s3.amazonaws.com/katalon-forum/editor/pr/dzult3syisph.png") ![](https://s3.amazonaws.com/katalon-forum/editor/zb/ckowtw091snt.png "Image: https://s3.amazonaws.com/katalon-forum/editor/zb/ckowtw091snt.png")  
xpath created :- //input[@id=‘firstname’]

[Capture1.PNG](https://s3.amazonaws.com/katalon-forum/editor/pr/dzult3syisph.png)

[Capture.PNG](https://s3.amazonaws.com/katalon-forum/editor/zb/ckowtw091snt.png)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 13, 2018, 9:10pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/2 "2018-09-13T21:10:03Z")

</div>

You need to switch into the iframe.  
See [https://docs.katalon.com/display/KD/[WebUI]+Switch+To+Frame](https://docs.katalon.com/display/KD/%5BWebUI%5D+Switch+To+Frame)  
I am afraid that your test case does not call WebUI.switchToFrame(…) , does it?

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 13, 2018, 11:49pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/3 "2018-09-13T23:49:23Z")

</div>

It was doing as a part of parent object in xpath ,but still I wrote a code like below,even after switching ,its unable to set text,trust I did this so many times in so many websites but this is not working ☹ Its really strange when I execute the code in katalon recorder chrome plugin test case executes fine but after I export as katalon script its failing

It was doing as a part of parent object in xpath ,but still I wrote a code like below,even after switching ,its unable to set text,trust I did this so many times in so many websites but this is not working ☹

09-13-2018 04:43:33 PM - [START] - Start Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount  
09-13-2018 04:43:33 PM - [INFO] - Evaluating variables for test case  
09-13-2018 04:43:34 PM - [START] - Start action : openBrowser  
09-13-2018 04:43:34 PM - [INFO] - Opening browser  
09-13-2018 04:43:34 PM - [INFO] - Starting ‘Chrome’ driver  
09-13-2018 04:43:34 PM - [INFO] - Action delay is set to 0 seconds  
Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 20116  
Only local connections are allowed.  
Sep 13, 2018 4:43:40 PM org.openqa.selenium.remote.ProtocolHandshake createSession  
INFO: Detected dialect: OSS  
09-13-2018 04:43:40 PM - [RUN\_DATA] - Logging run data ‘sessionId’ with value ‘e4b38355ede9cee65178f56a27a3fb38’  
09-13-2018 04:43:40 PM - [RUN\_DATA] - Logging run data ‘browser’ with value ‘Chrome 68.0.3440.106’  
09-13-2018 04:43:40 PM - [RUN\_DATA] - Logging run data ‘platform’ with value ‘Windows 10’  
09-13-2018 04:43:40 PM - [RUN\_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’  
09-13-2018 04:43:40 PM - [RUN\_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO\_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’  
09-13-2018 04:43:40 PM - [PASSED] - Browser is opened with url: ‘’  
09-13-2018 04:43:40 PM - [END] - End action : openBrowser  
09-13-2018 04:43:40 PM - [START] - Start action : navigateToUrl  
09-13-2018 04:43:40 PM - [INFO] - Checking url  
09-13-2018 04:43:40 PM - [INFO] - Navigating to ‘[https://webr12accounts.com/](https://webr12accounts.com/)’  
09-13-2018 04:43:42 PM - [PASSED] - Navigate to ‘[https://webr12accounts.com/](https://webr12accounts.com/)’ successfully  
09-13-2018 04:43:42 PM - [END] - End action : navigateToUrl  
09-13-2018 04:43:42 PM - [START] - Start action : click  
09-13-2018 04:43:42 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Account/button\_Create Account’  
09-13-2018 04:43:42 PM - [INFO] - Checking object  
09-13-2018 04:43:42 PM - [INFO] - Checking timeout  
09-13-2018 04:43:42 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-13-2018 04:43:42 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-13-2018 04:43:42 PM - [INFO] - Clicking on object: ‘Object Repository/Page\_Create Your Account/button\_Create Account’  
09-13-2018 04:43:42 PM - [PASSED] - Object: ‘Object Repository/Page\_Create Your Account/button\_Create Account’ is clicked on  
09-13-2018 04:43:42 PM - [END] - End action : click  
09-13-2018 04:43:42 PM - [START] - Start action : switchToFrame  
09-13-2018 04:43:42 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Account/iframe\_concat(id( wotcAccount’  
09-13-2018 04:43:42 PM - [INFO] - Switching to iframe: ‘Object Repository/Page\_Create Your Account/iframe\_concat(id( wotcAccount’  
09-13-2018 04:43:42 PM - [INFO] - Checking timeout  
09-13-2018 04:43:42 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Account/iframe\_concat(id( wotcAccount’ located by ‘By.xpath: //iframe[@id=‘wotcAccountWidgetModalIframe’]’ in ‘5’ second(s)  
09-13-2018 04:43:42 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Account/iframe\_concat(id( wotcAccount’ located by ‘By.xpath: //iframe[@id=‘wotcAccountWidgetModalIframe’]’ in ‘5’ second(s)  
09-13-2018 04:43:42 PM - [INFO] - Switched to iframe: ‘Object Repository/Page\_Create Your Account/iframe\_concat(id( wotcAccount’  
09-13-2018 04:43:42 PM - [END] - End action : switchToFrame  
09-13-2018 04:43:42 PM - [START] - Start action : setText  
09-13-2018 04:43:42 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’  
09-13-2018 04:43:42 PM - [INFO] - Checking object  
09-13-2018 04:43:42 PM - [INFO] - Checking text  
09-13-2018 04:43:42 PM - [INFO] - Checking timeout  
09-13-2018 04:43:42 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ in ‘30’ second(s)  
09-13-2018 04:44:14 PM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ using heuristic method. Matching attributes: [tag].  
09-13-2018 04:44:14 PM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.  
09-13-2018 04:44:14 PM - [INFO] - You should consult our guide in choosing attributes : [https://docs.katalon.com/x/fhlO](https://docs.katalon.com/x/fhlO)  
09-13-2018 04:44:14 PM - [INFO] - Web element found by trial and error method is not used because we can’t guarantee it reflects the intended element.  
09-13-2018 04:44:15 PM - [FAILED] - Unable to set text ‘jjj’ of object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ not found)  
09-13-2018 04:44:15 PM - [END] - End action : setText  
09-13-2018 04:44:15 PM - [FAILED] - Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘jjj’ of object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ located by ‘By.xpath: //input[@id=‘firstname’]’ not found)  
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:65)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$3.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)  
at Script1536857306109.run(Script1536857306109.groovy:24)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)  
at TempTestCase1536882205892.run(TempTestCase1536882205892.groovy:22)  
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)  
at groovy.lang.GroovyShell.run(GroovyShell.java:518)  
at groovy.lang.GroovyShell.run(GroovyShell.java:507)  
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)  
at groovy.ui.GroovyMain.run(GroovyMain.java:384)  
at groovy.ui.GroovyMain.process(GroovyMain.java:370)  
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)  
at groovy.ui.GroovyMain.main(GroovyMain.java:109)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)  
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)  
)  
09-13-2018 04:44:15 PM - [END] - End Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 14, 2018, 12:13am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/4 "2018-09-14T00:13:38Z")

</div>

> I wrote a code like below

I do not find your code. Could you paste your test case code here?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 14, 2018, 12:25am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/5 "2018-09-14T00:25:22Z")

</div>

> 09-13-2018 04:44:14 PM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.

This seems to be a duplicate as this:

> **[Issue with WebUI.waitForElementPresent and WebUI.waitForElementVisible in...](https://forum.katalon.com/discussion/9004/issue-with-webui-waitforelementpresent-and-webui-waitforelementvisible-in-katalon-5-6)**
>
> When I call the WebUI.waitForElementPresent / WebUI.waitForElementVisible in an object that does not exists, after the timeout period I received the following message: \[INFO\] - Found web element with id: ‘Object...

may be a bug in Katalon?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 14, 2018, 12:31am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/6 "2018-09-14T00:31:11Z")

</div>

> 09-13-2018 04:44:14 PM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ using heuristic method. Matching attributes: [tag].

I am curious how the Test Object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ is defined. Could you take screenshot of its definition and paste it here?

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 1:34pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/7 "2018-09-14T13:34:19Z")

</div>

> [kazurayam](http://forum.katalon.com/profile/4280/kazurayam) said:
> 
> > 09-13-2018 04:44:14 PM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.
> 
> This seems to be a duplicate as this:
> 
> [Issue with WebUI.waitForElementPresent and WebUI.waitForElementVisible in Katalon 5.6 - Katalon Studio - Katalon Community](http://forum.katalon.com/discussion/9004/issue-with-webui-waitforelementpresent-and-webui-waitforelementvisible-in-katalon-5-6)
> 
> may be a bug in Katalon?

yes its a bug in katalon

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 1:35pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/8 "2018-09-14T13:35:43Z")

</div>

> [kazurayam](http://forum.katalon.com/profile/4280/kazurayam) said:
> 
> > 09-13-2018 04:44:14 PM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ using heuristic method. Matching attributes: [tag].
> 
> I am curious how the Test Object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ is defined. Could you take screenshot of its definition and paste it here?

![](https://s3.amazonaws.com/katalon-forum/editor/ek/sssnsolkif13.png)

[1.PNG](https://s3.amazonaws.com/katalon-forum/editor/j7/a6cozaiwpt05.png)

[1.PNG](https://s3.amazonaws.com/katalon-forum/editor/ek/sssnsolkif13.png)

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 1:41pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/9 "2018-09-14T13:41:46Z")

</div>

> [Tarun](http://forum.katalon.com/profile/1489/Tarun) said:
> 
> > [kazurayam](http://forum.katalon.com/profile/4280/kazurayam) said:
> > 
> > > 09-13-2018 04:44:14 PM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ using heuristic method. Matching attributes: [tag].
> > 
> > I am curious how the Test Object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ is defined. Could you take screenshot of its definition and paste it here?
> 
> ![](https://s3.amazonaws.com/katalon-forum/editor/ek/sssnsolkif13.png "Image: https://s3.amazonaws.com/katalon-forum/editor/ek/sssnsolkif13.png")

Also There is a Form element if you see above element screenshot ,do I need to go inside form element and then do a set text? to make this code working, this happened to be very straightforward thing but why its not working I am perplexed

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 1:44pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/10 "2018-09-14T13:44:35Z")

</div>

Here is entire script  
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.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW  
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile  
import com.kms.katalon.core.model.FailureHandling as FailureHandling  
import com.kms.katalon.core.testcase.TestCase as TestCase  
import com.kms.katalon.core.testdata.TestData as TestData  
import com.kms.katalon.core.testobject.TestObject as TestObject  
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI  
import internal.GlobalVariable as GlobalVariable

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘[https://webr12accounts.com/](https://webr12accounts.com/)’)

WebUI.click(findTestObject(‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’))

WebUI.switchToFrame(findTestObject(‘Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’), 5)

WebUI.setText(findTestObject(‘Object Repository/Page\_Create Your Wizards Account/input\_First Name\_firstname’), ‘jjj’)

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 1:56pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/11 "2018-09-14T13:56:15Z")

</div>

> [kazurayam](http://forum.katalon.com/profile/4280/kazurayam) said:
> 
> > 09-13-2018 04:44:14 PM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.
> 
> This seems to be a duplicate as this:
> 
> [Issue with WebUI.waitForElementPresent and WebUI.waitForElementVisible in Katalon 5.6 - Katalon Studio - Katalon Community](http://forum.katalon.com/discussion/9004/issue-with-webui-waitforelementpresent-and-webui-waitforelementvisible-in-katalon-5-6)
> 
> may be a bug in Katalon?

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 14, 2018, 2:31pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/12 "2018-09-14T14:31:47Z")

</div>

I guess the root cause why katalon unable to find text box is mentioned in this thread

> **[Element Found in Developer Tools But no in CSS & Xpath Checker](http://forum.katalon.com/discussion/9659/element-found-in-developer-tools-but-no-in-css-xpath-checker?new=1)**
>
> Root cause found for  thread:- http://forum.katalon.com/discussion/comment/22512#Comment\_22512 

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 15, 2018, 6:54am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/13 "2018-09-15T06:54:51Z")

</div>

Katalon document ‘[Manage Test Object](https://docs.katalon.com/display/KD/Manage+Test+Object)’, section titled ‘Manage Parent Object’ shows an example how to tell a Test Object to switch context into parent iframe.  
 ![](https://s3.amazonaws.com/katalon-forum/editor/r8/rzeiomfsy8wv.png "Image: https://s3.amazonaws.com/katalon-forum/editor/r8/rzeiomfsy8wv.png")

Tarun,

I noticed, in the screenshot you attached, that your Test Object ‘Object Repository/Page\_Create Your Account/input\_First Name\_firstname’ does **not** have Parent iframe specified.

Why not you try specifying Parent iframe for the Test Object?

[image2018-9-6 10\_26\_6.png](https://s3.amazonaws.com/katalon-forum/editor/r8/rzeiomfsy8wv.png)

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 15, 2018, 4:39pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/14 "2018-09-15T16:39:51Z")

</div>

tried that as well ,again unable to find object

Here is screenshot from other thread as this thread not allowing for any more screenshots  
[http://forum.katalon.com/discussion/9668/uploading-screenshots-for-other-thread-which-is-long-going?new=1](http://forum.katalon.com/discussion/9668/uploading-screenshots-for-other-thread-which-is-long-going?new=1)

09-15-2018 09:33:17 AM - [START] - Start Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount  
09-15-2018 09:33:17 AM - [INFO] - Evaluating variables for test case  
09-15-2018 09:33:17 AM - [START] - Start action : openBrowser  
09-15-2018 09:33:18 AM - [INFO] - Opening browser  
09-15-2018 09:33:18 AM - [INFO] - Starting ‘Chrome’ driver  
09-15-2018 09:33:18 AM - [INFO] - Action delay is set to 0 seconds  
Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 13946  
Only local connections are allowed.  
Sep 15, 2018 9:33:21 AM org.openqa.selenium.remote.ProtocolHandshake createSession  
INFO: Detected dialect: OSS  
09-15-2018 09:33:21 AM - [RUN\_DATA] - Logging run data ‘sessionId’ with value ‘aa93fd60980bf72f61c62f7f8f424ed9’  
09-15-2018 09:33:21 AM - [RUN\_DATA] - Logging run data ‘browser’ with value ‘Chrome 68.0.3440.106’  
09-15-2018 09:33:21 AM - [RUN\_DATA] - Logging run data ‘platform’ with value ‘Windows 10’  
09-15-2018 09:33:21 AM - [RUN\_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’  
09-15-2018 09:33:21 AM - [RUN\_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO\_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’  
09-15-2018 09:33:21 AM - [PASSED] - Browser is opened with url: ‘’  
09-15-2018 09:33:21 AM - [END] - End action : openBrowser  
09-15-2018 09:33:21 AM - [START] - Start action : navigateToUrl  
09-15-2018 09:33:21 AM - [INFO] - Checking url  
09-15-2018 09:33:21 AM - [INFO] - Navigating to ‘[https://webr12accounts.wizards.com/](https://webr12accounts.wizards.com/)’  
09-15-2018 09:33:23 AM - [PASSED] - Navigate to ‘[https://webr12accounts.wizards.com/](https://webr12accounts.wizards.com/)’ successfully  
09-15-2018 09:33:23 AM - [END] - End action : navigateToUrl  
09-15-2018 09:33:23 AM - [START] - Start action : click  
09-15-2018 09:33:23 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’  
09-15-2018 09:33:23 AM - [INFO] - Checking object  
09-15-2018 09:33:23 AM - [INFO] - Checking timeout  
09-15-2018 09:33:23 AM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-15-2018 09:33:23 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-15-2018 09:33:23 AM - [INFO] - Clicking on object: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’  
09-15-2018 09:33:23 AM - [PASSED] - Object: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ is clicked on  
09-15-2018 09:33:23 AM - [END] - End action : click  
09-15-2018 09:33:23 AM - [START] - Start action : switchToFrame  
09-15-2018 09:33:23 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’  
09-15-2018 09:33:23 AM - [INFO] - Switching to iframe: ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’  
09-15-2018 09:33:23 AM - [INFO] - Checking timeout  
09-15-2018 09:33:23 AM - [WARNING] - Timeout ‘0’ is invalid. Using default page load timeout: ‘30’  
09-15-2018 09:33:23 AM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’ located by ‘By.xpath: //iframe[@id=‘wotcAccountWidgetModalIframe’]’ in ‘30’ second(s)  
09-15-2018 09:33:23 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’ located by ‘By.xpath: //iframe[@id=‘wotcAccountWidgetModalIframe’]’ in ‘30’ second(s)  
09-15-2018 09:33:23 AM - [INFO] - Switched to iframe: ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id( wotcAccount’  
09-15-2018 09:33:23 AM - [END] - End action : switchToFrame  
09-15-2018 09:33:23 AM - [START] - Start action : setText  
09-15-2018 09:33:23 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/firstname’  
09-15-2018 09:33:23 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/iframe’  
09-15-2018 09:33:23 AM - [INFO] - Checking object  
09-15-2018 09:33:23 AM - [INFO] - Checking text  
09-15-2018 09:33:23 AM - [INFO] - Object: ‘Object Repository/Page\_Create Your Wizards Account/firstname’ has parent object(s)  
09-15-2018 09:33:23 AM - [INFO] - Switching to iframe: ‘Object Repository/Page\_Create Your Wizards Account/iframe’  
09-15-2018 09:33:23 AM - [INFO] - Checking timeout  
09-15-2018 09:33:23 AM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe’ located by 'By.xpath: ’ in ‘30’ second(s)  
09-15-2018 09:33:54 AM - [INFO] - Found web element with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe’ using heuristic method. Matching attributes: [xpath].  
09-15-2018 09:33:54 AM - [INFO] - Web element found by heuristic method is not used because we can’t guarantee it reflects the intended element.  
09-15-2018 09:33:54 AM - [INFO] - You should consult our guide in choosing attributes : [https://docs.katalon.com/x/fhlO](https://docs.katalon.com/x/fhlO)  
09-15-2018 09:33:54 AM - [INFO] - Web element found by trial and error method is not used because we can’t guarantee it reflects the intended element.  
09-15-2018 09:33:55 AM - [FAILED] - Unable to set text ‘jjj’ of object ‘Object Repository/Page\_Create Your Wizards Account/firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe’ located by 'By.xpath: ’ not found)  
09-15-2018 09:33:55 AM - [END] - End action : setText  
09-15-2018 09:33:55 AM - [FAILED] - Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘jjj’ of object ‘Object Repository/Page\_Create Your Wizards Account/firstname’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page\_Create Your Wizards Account/iframe’ located by 'By.xpath: ’ not found)  
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:65)  
at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$3.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)  
at Script1536857306109.run(Script1536857306109.groovy:24)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)  
at TempTestCase1537029193497.run(TempTestCase1537029193497.groovy:22)  
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)  
at groovy.lang.GroovyShell.run(GroovyShell.java:518)  
at groovy.lang.GroovyShell.run(GroovyShell.java:507)  
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)  
at groovy.ui.GroovyMain.run(GroovyMain.java:384)  
at groovy.ui.GroovyMain.process(GroovyMain.java:370)  
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)  
at groovy.ui.GroovyMain.main(GroovyMain.java:109)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)  
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)  
)  
09-15-2018 09:33:55 AM - [END] - End Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 15, 2018, 6:51pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/15 "2018-09-15T18:51:25Z")

</div>

downloaded new katalon now,still no success ☹

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 15, 2018, 10:21pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/16 "2018-09-15T22:21:34Z")

</div>

The script you attached on 14/Sep has the following line:

```auto
WebUI.switchToFrame(findTestObject( 'Page_Create Your Wizards Account/iframe_concat(id( wotcAccount' ), 5)

```

Your test object seems to be named as

```auto
'Page_Create Your Wizards Account/iframe_concat(id( wotcAccount'

```

To me, this string looks odd. Are you sure your test object is actually named as such?

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 15, 2018, 11:42pm UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/17 "2018-09-15T23:42:17Z")

</div>

yeah it was named by katalon tool ,let me remove spaces and retry

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 16, 2018, 1:20am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/18 "2018-09-16T01:20:16Z")

</div>

tried after removing spaces,but seems this new katalom tool has issues with switch frame,switch frame was working fine before but that even failing now,why katalon saying “Unable to verify image” when I am just switching to iframe,I guess I amloosing the hope of implementing katalon in my project ☹ tried really day and night ,almost didn’t slept overnight

09-15-2018 04:52:35 PM - [START] - Start Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount  
09-15-2018 04:52:35 PM - [INFO] - Evaluating variables for test case  
09-15-2018 04:52:35 PM - [START] - Start action : openBrowser  
09-15-2018 04:52:35 PM - [INFO] - Opening browser  
09-15-2018 04:52:35 PM - [INFO] - Starting ‘Chrome’ driver  
09-15-2018 04:52:35 PM - [INFO] - Action delay is set to 0 seconds  
Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 10701  
Only local connections are allowed.  
Sep 15, 2018 4:52:39 PM org.openqa.selenium.remote.ProtocolHandshake createSession  
INFO: Detected dialect: OSS  
09-15-2018 04:52:39 PM - [RUN\_DATA] - Logging run data ‘sessionId’ with value ‘6ada164570c19d9b1fb4b38365b1503d’  
09-15-2018 04:52:39 PM - [RUN\_DATA] - Logging run data ‘browser’ with value ‘Chrome 68.0.3440.106’  
09-15-2018 04:52:39 PM - [RUN\_DATA] - Logging run data ‘platform’ with value ‘Windows 10’  
09-15-2018 04:52:39 PM - [RUN\_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’  
09-15-2018 04:52:39 PM - [RUN\_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO\_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’  
09-15-2018 04:52:39 PM - [PASSED] - Browser is opened with url: ‘’  
09-15-2018 04:52:39 PM - [END] - End action : openBrowser  
09-15-2018 04:52:39 PM - [START] - Start action : navigateToUrl  
09-15-2018 04:52:39 PM - [INFO] - Checking url  
09-15-2018 04:52:39 PM - [INFO] - Navigating to ‘[https://webr12accounts.com/](https://webr12accounts.com/)’  
09-15-2018 04:52:40 PM - [PASSED] - Navigate to ‘[https://webr12accounts.com/](https://webr12accounts.com/)’ successfully  
09-15-2018 04:52:40 PM - [END] - End action : navigateToUrl  
09-15-2018 04:52:40 PM - [START] - Start action : click  
09-15-2018 04:52:40 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’  
09-15-2018 04:52:40 PM - [INFO] - Checking object  
09-15-2018 04:52:40 PM - [INFO] - Checking timeout  
09-15-2018 04:52:40 PM - [INFO] - Finding web element with id: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-15-2018 04:52:40 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ located by ‘By.xpath: //button[@id=‘join’]’ in ‘30’ second(s)  
09-15-2018 04:52:40 PM - [INFO] - Clicking on object: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’  
09-15-2018 04:52:40 PM - [PASSED] - Object: ‘Object Repository/Page\_Create Your Wizards Account/button\_Create Account’ is clicked on  
09-15-2018 04:52:40 PM - [END] - End action : click  
09-15-2018 04:52:40 PM - [START] - Start action : switchToFrame  
09-15-2018 04:52:40 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id(wotcAccount’  
09-15-2018 04:52:40 PM - [INFO] - Switching to iframe: ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id(wotcAccount’  
09-15-2018 04:52:40 PM - [INFO] - Checking timeout  
09-15-2018 04:52:41 PM - [FAILED] - Unable to verify image ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id(wotcAccount’ present (Root cause: java.lang.IllegalArgumentException: Cannot find elements when the XPath expression is null.)  
09-15-2018 04:52:41 PM - [END] - End action : switchToFrame  
09-15-2018 04:52:41 PM - [FAILED] - Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to verify image ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id(wotcAccount’ present (Root cause: java.lang.IllegalArgumentException: Cannot find elements when the XPath expression is null.)  
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)  
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)  
at com.kms.katalon.core.webui.keyword.builtin.SwitchToFrameKeyword.switchToFrame(SwitchToFrameKeyword.groovy:84)  
at com.kms.katalon.core.webui.keyword.builtin.SwitchToFrameKeyword.execute(SwitchToFrameKeyword.groovy:68)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.switchToFrame(WebUiBuiltInKeywords.groovy:2850)  
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$switchToFrame$2.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)  
at Script1536857306109.run(Script1536857306109.groovy:37)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)  
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)  
at TempTestCase1537055552897.run(TempTestCase1537055552897.groovy:22)  
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)  
at groovy.lang.GroovyShell.run(GroovyShell.java:518)  
at groovy.lang.GroovyShell.run(GroovyShell.java:507)  
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)  
at groovy.ui.GroovyMain.run(GroovyMain.java:384)  
at groovy.ui.GroovyMain.process(GroovyMain.java:370)  
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)  
at groovy.ui.GroovyMain.main(GroovyMain.java:109)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)  
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)  
)  
09-15-2018 04:52:41 PM - [END] - End Test Case : Test Cases/AccCreateCoppaAccount/AccCreateCoppaAccount

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [September 16, 2018, 2:01am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/19 "2018-09-16T02:01:36Z")

</div>

```auto
09-15-2018 04:52:40 PM - [START] - Start action : switchToFrame
09-15-2018 04:52:40 PM - [INFO] - Finding Test Object with id 'Object Repository/Page_Create Your Wizards Account/iframe_concat(id(wotcAccount'
09-15-2018 04:52:40 PM - [INFO] - Switching to iframe: 'Object Repository/Page_Create Your Wizards Account/iframe_concat(id(wotcAccount'
09-15-2018 04:52:40 PM - [INFO] - Checking timeout
09-15-2018 04:52:41 PM - [FAILED] - Unable to verify image 'Object Repository/Page_Create Your Wizards Account/iframe_concat(id(wotcAccount' present (Root cause: java.lang.IllegalArgumentException: Cannot find elements when the XPath expression is null.)
09-15-2018 04:52:41 PM - [END] - End action : switchToFrame

```

These messages indicates that the selector (xpath?) defined in the Test Object ‘Object Repository/Page\_Create Your Wizards Account/iframe\_concat(id(wotcAccount’ is wrong.

Pls show us the selector of the test object, and HTML fragment around

---

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [September 16, 2018, 4:54am UTC](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209/20 "2018-09-16T04:54:48Z")

</div>

Here is link  
[https://drive.google.com/file/d/1u1FJAYAiWDL530\_zeBiBevxeyrkM\_NjD/view?usp=sharing](https://drive.google.com/file/d/1u1FJAYAiWDL530_zeBiBevxeyrkM_NjD/view?usp=sharing)

here is HTML of iframe and text box both highlighted in yellow  
[https://drive.google.com/file/d/15yiKNeexbPM\_0cCnRr5kHb5ezCEth0\_h/view?usp=sharing](https://drive.google.com/file/d/15yiKNeexbPM_0cCnRr5kHb5ezCEth0_h/view?usp=sharing)

[Next page](https://forum.katalon.com/t/katalon-unable-to-enter-value-at-textbox-of-iframe/13209.md?page=2)
