- BhuvaneswariRegular Participant
- Posts : 30
Join date : 2011-09-30
Location : India
Help to find the window with dynamic id & compound class
Mon Jan 23, 2012 1:45 pm
Experts,
When I click an icon I get a new window. That window has a dynamic id and compound class name. I tried to find with the class name like below
Could someone say me how to identify this window so that I will start running my next set of commands on the new window.
Thanks in advance.
Reg.,
Bhuvana
When I click an icon I get a new window. That window has a dynamic id and compound class name. I tried to find with the class name like below
- Code:
driver.findElement(By.xpath("//div[contains(@class, 'aui-panel-content')]"));
Could someone say me how to identify this window so that I will start running my next set of commands on the new window.
Thanks in advance.
Reg.,
Bhuvana
Permissions in this forum:
You cannot reply to topics in this forum