You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
1. How this page source is generated and how the fields like id and class are mapped
2. Why the page source is not shown as html as this is hybrid corodova app?
3. I do not get values for class in the page source although it is present in the app code
The text was updated successfully, but these errors were encountered:
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 nameAutomationProperies.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
The text was updated successfully, but these errors were encountered: