Katalon unable to enter value at TextBox of Iframe

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 :frowning: 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 :frowning:

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/
09-13-2018 04:43:42 PM - [PASSED] - Navigate to ‘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
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