case isolated bjt
1. decide NPN or PNP
Daigtal multimeter Red Probe is " +" =P type
Black Probe is " -" =N type
Analog multimeter Red Probe is " _" =P type
Black Probe is " + " =N type
You can decide the transistor is PNP or NPN .
Added after 15 minutes:
I forget write how to decide E B C
You can decide E. B.C .by manual testing.
You know NPN or PNP
example
NPN transistor
presume one pin is C
Connect B and C with your finger ( Rbc, finger is resistor)
Measure the impedance C to E .
and try another pin ,and do the same measurement.
if the resistoer is small ,the C and E is real type .
This testing use Rbc to bias this BJT,the current gain is more than wrong bias(EC is cahnge) .