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

How to configure iOS tests using objective-c client? #70

Open
cestpasmoimeme opened this issue Nov 11, 2015 · 0 comments
Open

How to configure iOS tests using objective-c client? #70

cestpasmoimeme opened this issue Nov 11, 2015 · 0 comments

Comments

@cestpasmoimeme
Copy link

I have written some xctests with SeleniumForiOS.framework added to my testing project.
After I started the tests, as always, the simulator launched.
Then in the setUp method, the test created the remote web driver (same as in the SeleniumTests example) as below:
self.driver = [[SERemoteWebDriver alloc] initWithServerAddress:@"IPADDRESS" port:4723 desiredCapabilities:c requiredCapabilities:nil error:&error];

Here comes the problem. The server started a new session and KILLED the simulator launched by the tests. As a result, the test failed and ended. Then the server relaunched the simulator but my tests have already ended!

Do you have an example of how the entire configuration should be done? Thanks!

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

No branches or pull requests

1 participant