Skip to content

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

@cestpasmoimeme

Description

@cestpasmoimeme

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions