@amodsinghal A Click Activity with a Partial Selector meaning it doesn’t contain the window element, Hence It Should have a Window Selector to Identify on which Window the Click Should be executed.
Do While is just a Looping Statement, On Element Appear is to Identify an Element inside a Window, It doesn’t attach the Window for the inner activities used. Excel Application Scope is used to open an Excel file, and again it doesn’t have a Selector at all.
So in Short the Top most Selector would be present in an Attach Browser Activity or Attach Window or Get Active Window Activity.