Open pranavkhare opened 8 years ago
Driver uses CodedUI and Automation API to generate page source. So the page source is not an actual page source (html) of hybrid app, it is a representation of UI elements that are accessible by driver.
For id
and name
AutomationProperies.AutomationId
and AutomationProperies.Name
properties are used. This was originally developed with 'native' apps in mind, not hybrid. In 'native' apps class
corresponds to class of UI element, id
and name
to automation properties (that can be speciified programmatically or in XAML) as specified above. For web apps I do not know exact logic on how Windows translates html attributes to AutomationProperties
.
I'm writing test for windows mobile hybrid application developed using Appache cordova template in Visual Studio. Using winium.StoreApps.CodedUi server exe generated by compiling the code i download from this git project
Below is the page source