Identification of elements in a webpage

Hello,

i encountered some problems with the automation classes concerning webpages.

The first thing is how get webelements an automationid or name Although in many elements the name attribute is set the AutomationElement has empty values for AutomationID and NameProperty. That makes it harder to identify the objects in a webpage.

The IsOffscreen property is always set to false in the AutomationElement even when the element is not visible on the screen and you have to scroll to see it.

There is no access to the scrollbars in a webpage so it is not possible to scroll in it. For example in the class hierarchy reference of c# you can neither access the scrollbar for the left tree nor the scrollbar for the document window.

Text in the page is recognised as ControlType.Text but has not the according patterns to access information on the displayed text.

I know that are a lots of questions and the most interesting one for me is the first one.



Answer this question

Identification of elements in a webpage

  • Telexer

    Hello,

    did any found a reason for IsOffscreen property is always set to false

    THX

  • Identification of elements in a webpage