Skip to content

Access MVC Areas in Seleno UI Testing #257

@Kalyan-Basa

Description

@Kalyan-Basa

I have two modules in our Application and we have setup two areas for each of the module.

Ex:
Area1

  • Apply
  • Accepted
  • Rejected

Similarly for Area2

  • Apply
  • Accepted
  • Rejected

The following are the routes

  • Area1/Apply/ActionMethod
  • Area2/Accepted/ActionMethod

Using Seleno, I'm able to access routes without the Areas.
i.e., /Apply/ActionMethod

But I want to integrate Areas as well in the Seleno UI Functional testing project.

While initiating SelenoHost, I have configured routes as below

Instance.Run("ProjectName", portNumber,
                config => config.WithRouteConfig(RouteConfig.RegisterRoutes)
                );

Thanks in Advance.

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