Forum Discussion

kaiiii's avatar
kaiiii
Regular Contributor
4 years ago
Solved

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 addr...
  • AlexKaras's avatar
    AlexKaras
    4 years ago

    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.