[![enter image description here][1]][1]**HTML code is shown in Screenshot** [![enter image description here][2]][2]

**I tried with Action class** 

`WebElement element = InspectationOrder.wd.findElement(By.xpath("//div[@class='qx-window']"));
 Actions actions = new Actions(InspectationOrder.wd);
 actions.moveToElement(element).click().build().perform();`

but found `"java.lang.NullPointerException"` while i tried to move focus.
but same action code works for other area in application 

Also tried with
`for (String popup : wd.getWindowHandles())`
`{`
`wd.switchTo().window(popup);`
`}`

but not working :( 
May be issue with z-index but m don't have more idea about the same .