2gis / Winium.Mobile

Winium.Mobile is Selenium Remote WebDriver implementation for automated testing of Windows StoreApps and Silverlight apps, tested on emulators (currently only Windows Phone/Mobile apps are supported).
Mozilla Public License 2.0
51 stars 29 forks source link

Error-There is an error in XML document (2,2) in deployment tool. #145

Closed padmaja2812 closed 8 years ago

padmaja2812 commented 8 years ago

Hi, After creating package windows 10 with x86. I am having appxbundle file which is giving same error "A packaging error prevented this application from installing." With .appx file Error-There is an error in XML document (2,2). with deployment tool as well. Can you please provide a way around for the same.

NickAb commented 8 years ago

XML document (2,2). should have been fixed in v1.5.0. What version of driver do you use?

Winium.Driver.exe --version

padmaja2812 commented 8 years ago

Winium.StoreApps.Driver.exe --version 1.6.2.33642, the latest version. On Jun 17, 2016 9:20 PM, "Nick Abalov" notifications@github.com wrote:

XML document (2,2). should have been fixed in v1.5.0. What version of driver do you use?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/2gis/Winium.StoreApps/issues/145#issuecomment-226806537, or mute the thread https://github.com/notifications/unsubscribe/ACLuhNEzN3NyFFxCqO5cAU7sOdvVgrsIks5qMsI-gaJpZM4I3Yz6 .

padmaja2812 commented 8 years ago

Hi Nick, The previous app i was able to deploy using deployment tool. But when i tried with winium,it gave same error. Meanwhile, I am able to automate the app with setting the "debugRunningApp"="true" in capabilities. Can you help with this?

Thanks Padmaja

NickAb commented 8 years ago

debugConnectToRunningApp completely skips the deployments steps and connects to already running app on the emulator. So it can not fail on deployment, as that step is skipped.

Do I understand correctly that when you deploy your app using WinAppDeploy tool the deployment is successful, but when you are trying to deploy the same app using Winium, then There is an error in XML document (2,2) exception is raised?

padmaja2812 commented 8 years ago

Yes.

On Aug 10, 2016 12:11 PM, "Nick Abalov" notifications@github.com wrote:

debugConnectToRunningApp completely skips the deployments steps and connects to already running app on the emulator.

Do I understand correctly that when you deploy your app using WinAppDeploy tool the deployment is successful, but when you are trying to deploy the same app using Winium, then There is an error in XML document (2,2) exception is raised?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/2gis/Winium.StoreApps/issues/145#issuecomment-238779092, or mute the thread https://github.com/notifications/unsubscribe-auth/ACLuhH28F2RDn8ntNkA87F5A4aL0NwQhks5qeXKzgaJpZM4I3Yz6 .

NickAb commented 8 years ago

Please see #116, steps described in it might help.

padmaja2812 commented 8 years ago

I am able to launch with help of #116

Thanks for help :+1: