Upvote:4
Airlines use a database called Timatic to check visa requirements.
The timatic entry for the UAE, Visa section, Visa issuance subsection, states:
Nationals of India with a normal passport valid for a minimum of 6 months from the arrival date with a visa issued by the USA which is valid for a minimum of 6 months can obtain a visa on arrival for a maximum stay of 14 days. They can apply to extend their stay for an additional 14 days.
Nationals of India with a normal passport valid for a minimum of 6 months from the arrival date with a residence permit issued by the USA or a European Union Member State which is valid for a minimum of 6 months can obtain a visa on arrival for a maximum stay of 14 days. They can apply to extend their stay for an additional 14 days.
Note that this will most probably be checked at the origin rather than during transit. Also, pay attention to the 6 months rule.