how to handle opening another window from the existing
what is the problem?
unable to locate the name from the open window. please look at the code and run it, you will see the issue
it is in iframe.you need to use switchto.