Subaru legacy 1997 fuel problem

i have an ongoing fuel problem. first time…i changed out the fuel pump…the car worked…i thought ok…that was simple…happened again…changed the fuel pump…ok…that was simple…then it started being more and more sporadic,usually happened when i parked at a grocery store…but sometimes it would work after cranking and cranking…i know it is the fuel…because i disconnected the fuel line and nothing came out while the key was on. so i put another new fuel pump on…and this time…i get nothing…not a drop of gas…(and yes there is gas in the tank)
the fuse is good…but pump doesn’t even try.
Please Click…Or Clack…save me