Indian stock markets opened with gains on Wednesday, as investor confidence received a boost following favorable assembly election results for the ruling party.