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

Allow execution of methods on static class in AUT from tests #77

Merged
merged 2 commits into from
Jul 16, 2016

Conversation

NickAb
Copy link
Contributor

@NickAb NickAb commented Jul 15, 2016

@journeyman I have fixed some code styling and added code to pass return value of method back to tests. This way tests would be able to receive data from AUT describing internal state of AUT if such API would be implemented by AUT developers.

See if you have any questions or suggestions and we can merge it.

journeyman and others added 2 commits July 14, 2016 02:41
…ven class with given parameters that is present in current app's AppDomain modules
Passing invoked method return value into tests as return value of
ExecuteScript should make this command much more useful for
test automation as it will let tests get back data from AUT without
need of wiring that data to accessible properties.
@journeyman
Copy link
Contributor

@NickAb coolness, thanks so much! I was planning to add return values as a next step. Sorry for tabs/spaces settings conflicts and StyleCop (forgot to import it).
I've also updated docs here, take a look https://github.com/2gis/winphonedriver/wiki/Command-Execute-Script
I've got no more comments or suggestions.

@NickAb NickAb merged commit 7d44962 into master Jul 16, 2016
@NickAb NickAb deleted the backdoor branch July 16, 2016 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants