Although it's not clear, I assume that you are comparing the weight of the object by itself (F) and while submerged in a liquid. (F').
The buoyant force is F- F' = ρLgVO and since F = ρOgVO , ρO = (F/(F=F') * ρL
This means that the density of the solid can be calculated from 2 weights (or stretches) with and without liquid or from two submerged cases with different liquids. Therefore, glycerine works as well as water and will yield the same solid density.
Please consider a tutor. Take care