Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windriver can't get access to local temp directory #19

Open
stefdaems opened this issue Aug 20, 2015 · 5 comments
Open

Windriver can't get access to local temp directory #19

stefdaems opened this issue Aug 20, 2015 · 5 comments

Comments

@stefdaems
Copy link

Whenever I try to download an app from store using the winappdriver, I'm getting the message that the webdriver is not allowed to access the folder.

I've been trying to redirect it to another directory on which all rights are open, but no success. Event when the webdriver is started with admin rights nothing changes.

appnoaccess

@stefdaems
Copy link
Author

I seems the ActivateStoreApp couldn't be found, fixed this by storing the ActivateStoreApp.exe file in the same directory as the winappdriver.

Can be closed as config issue

@imsardine
Copy link
Owner

@stefdaems What do you mean by "download an app from store", may I know capabilities you specified? According to the logs you provided, the error is irrelevant to app activation.

EDIT: It seems like you specified app capability, and WinAppDriver will download the installation package to the temporary folder, where %TEMP% environment variable refers to. In your case, %TEMP% refers to C:\YourTempFolder, and WinAppDriver doesn't have write/delete access to that folder. On my computer, the variable refers to %USERPROFILE%\AppData\Local\Temp

@stefdaems
Copy link
Author

If in "app" capability I'm providing the URL towards the app in the play store. Am I right to say the winappdriver will download the app from the store and install it to the pc?

@imsardine
Copy link
Owner

Yes, WinAppDriver will download the installation package and install it.

However, it is expected that the installation package is a zip file.

desired_caps = {
    'platformName': 'WindowsModern',
    'app': 'http://your-build-server/path/to/your/pacakge.zip',
    'packageName': 'your-app-package-name',
}

I don't know there exists a URL pointing to a package on Window Store. May I know the desired capabilities you specified, so I can try to reproduce the error.

@stefdaems
Copy link
Author

Hi,

I'm not able to get a win8 app dowloaded from the store working with the webdriver on windows10.

I download the yelo play app and start webdriver. The webdriver starts the app correctly the first time, when a the webdriver is requested to open the app.

Whenever I close the app and webdriver and restart the webdriver I reopen the app via the webdriver but then the app crashes. When I try to open the app directly it doesn't open anymore.

Any idea?

Kind regards,
Stef

Verstuurd vanaf mijn iPhone

Op 21-aug.-2015 om 10:45 heeft Jeremy Kao [email protected] het volgende geschreven:

Yes, WinAppDriver will download the installation package and install it.

However, it is expected that the installation package is a zip file.

desired_caps = {
'platformName': 'WindowsModern',
'app': 'http://your-build-server/path/to/your/pacakge.zip',
'packageName': 'your-app-package-name',
}
I don't know there exists a URL pointing to a package on Window Store. May I know the desired capabilities you specified, so I can try to reproduce the error.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants