Hello Nitin,
I got your problem even i have faced the same problem some how I found its solution, You need to just do this see :
driver.switchTo().frame(0);
This means if you have n number of iframes you can handle them by 0,1,2,3 etc. in case when iframe does not have any
Identifier.
I hope you got my point.