Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonIdentifier

Scheme to define how to access a button Either by data-id (language independent) or by button label (language dependent, but easily visible in UI)

Hierarchy

  • ButtonIdentifier

Index

Properties

Properties

Optional byDataId

byDataId: string

Find button by data-id. You can find this in the HTML DOM when inspecting your form. Good if your tests need to be language independent

example

account|NoRelationship|Form|mscrmaddons.am.form.createworkingitem.account

Optional byLabel

byLabel: string

Find button by label. This is the plain button label that you can see in the UI. Be aware of language dependent button labels

example

Delete

Optional custom

custom: string

Pass a completely custom CSS selector for finding the button to click

example

li[id*='DeletePrimaryRecord']

Generated using TypeDoc