The control panels on the latest dishwashers can look intimidating. They're loaded with so many dials, push buttons, and other features that the machine looks too complex to repair. This is actually not the case. With the exception of the control panel, dishwashers haven't changed much in basic design over the last two decades.
Dishwasher parts can be replaced as a unit, which is often easier and less expensive than having a professional service person make repairs. If you aren't sure a part is still usable, remove it from the dishwasher and take it to a professional for testing. You can then decide whether to buy a new part or have the old one repaired on the basis of the repair estimate.