Hello all,
I am new to mobile automation. I am working on automation project with hybrid application. I am facing an issue " unexpected alert open" on Appium 1.6.4. This issue occurs when I closing an pop-up on NATIVE_APP then back to WEB_VIEW mode. I have tried this script on Appium 1.4.16 and that expection does not occurs. So anyone please help me. Thanks.
org.openqa.selenium.UnhandledAlertException: unexpected alert open
(Session info: chrome=webview)
(Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20 milliseconds: null
Build info: version: ‘2.53.1’, revision: ‘a36b8b1cd5757287168e54b817830adce9b0158d’, time: ‘2016-06-30 19:26:09’
System info: host: ‘CPP00082434B’, ip: ‘10.16.35.179’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_31’
Driver info: com.gsshop.driver.Android
Capabilities [{appPackage=gsshop.mobile.v2, deviceScreenSize=800x1280, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=5ddb4534049dd6d0, platform=LINUX, --override-session=true, deviceUDID=5ddb4534049dd6d0, appActivity=gsshop.mobile.v2.intro.IntroActivity, desired={appPackage=gsshop.mobile.v2, appActivity=gsshop.mobile.v2.intro.IntroActivity, newCommandTimeout=7200, platformVersion=4.4, automationName=Appium, unicodeKeyboard=true, platformName=Android, deviceName=SM-T331, resetKeyboard=true, --override-session=true}, newCommandTimeout=7200, platformVersion=4.4.2, webStorageEnabled=false, locationContextEnabled=false, automationName=Appium, takesScreenshot=true, javascriptEnabled=true, deviceModel=SM-T331, unicodeKeyboard=true, platformName=Android, deviceManufacturer=samsung, resetKeyboard=true}]
Session ID: 2329f9e0-e5cd-4ef5-9da5-ba58d4cc98b5
*** Element info: {Using=xpath, value=//*[@id=‘cont_content’]//a[@class=‘btn-alert-del’]}