to test the TPS is quite easy if you have a multimeter.
remove the inlet boot from the throttle body / Air Flow meter.
you will see a plug at the base of the inlet hole, remove this plug and it will reveal three pins. set you meter to read volts DC (DCV or sometimes DC--) measure the femail portion of the connection, you should have about 5V between the inner and each outer pin (with ingition on!)
now set your meter to read resistance or Ohms (Ω). test it works by connection the two measureing leads together, you should read 0Ω - some analogue meters can be adjusted at this point.
now look into the inlet body and the pins from left to right i will call 1 2 3 (so 1 is toward the radiator) connect the leads to pin 1 and pin 2 it should now read 0Ω, noe slowly open the throttle and this should change to open circuit or a high resistance almost immediately as you begin to move the throttle (its supposed to move about .5mm) you need to check it only reads 0Ω when closed and at all other points up to full throttle it should read high or infinite resistance - move it slowly and look for any changes in the readings as you move from closed to fully open and back to closed. now connect to pins 2 and 3 it should read high reisistance, now slowly open the throttle it should not change until you reach about 10Degrees of fully open where at this point the resistance should be 0Ω and stay 0Ω up to fully opened throttle. If you have anything else then there is a problem, if not dont touch it, it can be adjusted but only if needed.
Tari, in your case it seems like a loss of power to the ECU (hence the ABS light comming on), inspect the earth connection at the battery and alternator, and look to see if the DME relay is loose (its found in the cover next to the Air flow meter, you will see three relays (or place for three relays - you may only have two. the one closest to the radiator is the DME relay and check this one (or replace it) the middle one is the fuel pump relay and the one closest to the driver is the relay for the oxygen sensor heater.
and Willnz you can be forgiven this time
mrlee.....