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/â
09-13-2018 01:18:33 PM - [PASSED] - Navigate to â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
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
=============================================
xpath created :- //input[@id=âfirstnameâ]
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/â
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
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?
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?
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?
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
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
Katalon document âManage Test Objectâ, section titled âManage Parent Objectâ shows an example how to tell a Test Object to switch context into parent iframe.
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?
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/â
09-15-2018 09:33:23 AM - [PASSED] - Navigate to â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
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
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/â
09-15-2018 04:52:40 PM - [PASSED] - Navigate to â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
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