Katalon Studio v5.8 - It's time for the all-new API testing experience
Pritam
Katalon Apprentice
04/09/2018

WebUI.setText() error In mobile Web Android Device

Error Log: Test Cases/movies/mobile web/Movie Booking Flow for all Cinema Type FAILED because (of) Unable to set text 'HMT Digital 4K Cinema: Jalahalli' of object 'Object Repository/Mobile Web/Movies/second_search' (Root cause: org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'

  (Session info: chrome=65.0.3325.109)

  (Driver info: chromedriver=2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2),platform=Mac OS X 10.13.3 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'

System info: host: 'Pritam.local', ip: 'fe80:0:0:0:834:db0:7910:b17%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.3', java.version: '1.8.0_102'

Driver info: com.kms.katalon.core.appium.driver.SwipeableAndroidDriver

Capabilities {browserName: Chrome, databaseEnabled: false, desired: {browserName: Chrome, deviceId: , deviceName: HUAWEI PLK (Android 6.0), newCommandTimeout: 1800, platform: ANDROID, platformName: android, udid: 9QSDU15926001016}, deviceId: , deviceManufacturer: HUAWEI, deviceModel: PLK, deviceName: 9QSDU15926001016, deviceScreenSize: 1080x1920, deviceUDID: 9QSDU15926001016, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 1800, platform: ANDROID, platformName: ANDROID, platformVersion: 6.0, takesScreenshot: true, udid: 9QSDU15926001016, warnings: {}, webStorageEnabled: false}

Session ID: 2a3d90bc-fcb2-451c-a07b-bd7e7a1f700a)

Upvote
Quote

Comments

  • Ananth raghav
    Katalon Apprentice
    05/10/2018
    Is this issue resolved or are you still facing error?
    Upvote
    Quote
  • Sreekumar S
    Katalon Apprentice
    05/16/2018
    Hi Team,

    I am facing the above mentioned errors when we running the test case in android devices.
    We were unable to set the value using 'setText()' function.
    Can you please help us.

    Thanks,
    Sreekumar
    Upvote
    Quote
  • Pritam
    Katalon Apprentice
    05/16/2018
    The issue is fixed, make sure you have picked the correct element, i.e the input field in this case where you want to set the text. It will work if you are selecting the correct element using XPath.
    Upvote
    Quote
  • Kiran
    Katalon Apprentice
    05/17/2018
    Hi Team,

    What we are trying to do is:
    • Record a script in chrome by resizing the browser to mobile dimensions
    • Then run the script in android mobile and observe the automation result
    issue:
    While we are trying to run the recorded script in android mobile, we are not able to identify 'setText()' function even though we have picked the current element and given xpath and various other locators and we are getting the error message mentioned in this forum message.

    Please let us know if there are any workarounds for this issue. It's an urgent requirement.
    Thanks in advance.



    Upvote
    Quote
Sign In or Register to comment.