Would that work in circuit?
If the circuit is working it is easy!
Just measure the voltages with respect to chassis.
If it is an NPN,the highest positive voltage will be the collector,the lowest the emitter,& the base will be about 0.7 volts higher than the emitter.
If it is PNP & the equipment has a negative supply,the above comments apply,with the polarity changed.
Sometimes,transistors will be fitted "upside down"where the collector will be at,or close to, chassis potential,but
the relationships between elements still apply.