Skip to content

Format control search with Clickable component #313

Description

@hamiltonmarques

Hello!

Imagine a field with 4 switch buttons. Like this:
image

I would like to declare the component just once.

My idea with Atata inside BasePage:

[FindByXPath]
[Format("//h6[text()='{0}']//following-sibling::div")]
public Clickable<string, TOwner> ChooseOption { get; private set; }

My idea inside test:

ChooseOption.Click("Option A");

It's only the concept, they don't work. I took the ideas above from Select component.
There is a way to customize that with Clickable component?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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