The solenoid will activate when power is applied across the Black and Yel/red wires. It doesn't matter the polarity if they aren't attached to the bike harness. These leads attach to a coil of wire inside the solenoid.
A voltmeter measures a potential across the leads/probes. With probes unattached the meter should read zero. If you put just one probe on a battery terminal, the meter still reads zero. When you place probes on both battery terminals, THEN you get a meter reading.
The same is true wherever you probe with the meter, and you must state where BOTH probes are connected for any reading you give us to be meaningful.
If you don't have switches on the bike, how do you expect the thing to work?
Anyway, if you want the solenoid to activate. The key switch, if you have one, should supply 12V to the black wire of the solenoid, assuming it is connected. If you just want to test the solenoid, (you never told us what your goal is). Then jumper the battery neg terminal to the yel/red wire on the solenoid, (disconnected from the wire harness).
If your goal is to see voltage on the yel/red wire, then supply 12V to the black wire of the solenoid, and place you meter probe on the yel/red and Battery neg terminals. The solenoid's internal coil will distribute the voltage through it, so you can see a satisfying reading. Normally, it will read 12V until you ground it out, (which will activate the solenoid).