dishwash won't drain

my ge profile dishwaasher will not drain i replaced the pump also the
mechanisn along with cleaning drain and taking hose off to let it drain
in a bucket the pump never trys to come on is the a switch or board can anybody help ty greg