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 trying to discover a way to select attributes with a decimal point in the attribute name when testing desktop applications using Winium.
Here is a sample of a drop-down object I'm looking at using both Inspect & UISpy:
Figure A: Object viewed from Inspect
Figure B: Object viewed from UISpy
What I'm trying to do is create a method capable of verifying the object that has been selected in the drop-down box. In this case, that would be 'Modbus ASCII'. In both Inspect & UISpy, the attribute name associated with that object is 'Selection.Selection'. You can also see it's considered a 'list item'. The issue is when I attempt to access this attribute even to just print it, I can't access it. Some of the options I've tried are...
Neither of these work and the return back with nothing. When I did some digging, I found a link on your site, which led me to another page suggesting it's possible to access those attributes. However, I've exhausted multiple options in trying to get 'Selection.Selection' and the Legacy attributes to print to the CLI, which tells me I can't use its attribute to verify behaviors in my test cases.
The text was updated successfully, but these errors were encountered:
I'm trying to discover a way to select attributes with a decimal point in the attribute name when testing desktop applications using Winium.
Here is a sample of a drop-down object I'm looking at using both Inspect & UISpy:
Figure A: Object viewed from Inspect
Figure B: Object viewed from UISpy
What I'm trying to do is create a method capable of verifying the object that has been selected in the drop-down box. In this case, that would be 'Modbus ASCII'. In both Inspect & UISpy, the attribute name associated with that object is 'Selection.Selection'. You can also see it's considered a 'list item'. The issue is when I attempt to access this attribute even to just print it, I can't access it. Some of the options I've tried are...
print "Mode: ", mod_mast_port_opts.find_element_by_class_name("ComboBox").get_attribute("Selection.Selection")
print "Mode: ", mod_mast_port_opts.find_element_by_class_name("ComboBox").get_attribute("Selection")
Neither of these work and the return back with nothing. When I did some digging, I found a link on your site, which led me to another page suggesting it's possible to access those attributes. However, I've exhausted multiple options in trying to get 'Selection.Selection' and the Legacy attributes to print to the CLI, which tells me I can't use its attribute to verify behaviors in my test cases.
The text was updated successfully, but these errors were encountered: