Search webelement on browser another window
Search webelement on browser another window, I am working on a scenario where after click on a link ..it's open in browser another window where i need to identify web elements
I get that window address by using Aliases.browser.BrowserWindow
but I'm not able to find web element on that another window page where i need to perform click event.
how can i do the same please guide me.
Hi,
> I open a link that open in browser another window
Every web element in TestComplete is a descendant of a page object that corresponds to web page opened in a browser. So the generic syntax is
Browser.page.FindChild(...)
The above means that you must identify the new web page that is opened after clicking the link (use Object Browser for that) and use this page as a root for the search of the elements that your test code needs to interact with on it.