Skip to content
Discussion options

You must be logged in to vote

So if you wanted to perform a common setup in every test case, you should use Reqnroll Hooks to perform more global setup.

So you could add a file that has something like:

[Binding]
public class SetupHooks
{
    [BeforeScenario]
    public void LaunchMobileApplication()
    {
        // Do my mobile setup here 
    }
}

this would then run the contents of the LaunchMobileApplication before every test case in your test suite.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@UL-ChrisGlew
Comment options

@pritesh848
Comment options

@ajeckmans
Comment options

@UL-ChrisGlew
Comment options

Answer selected by pritesh848
@pritesh848
Comment options

@gasparnagy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants