"By Genre", what I do is first select a Genre, then select any single song from the resulting list of songs, then press Shuffle. Since my genres all have many thousands of songs in them, that's Random enough for me.
"By Artist" doesn't work so well. For some silly reason, when you select "By...