AutoGeneral/IridiumApplicationTesting

Enhancement - Add steps to adjust style percentage

dehanw opened this issue · 2 comments

Need a new step which could adjust html style percentage for an element. Please refer to the screenshot. Thanks a lot.

For example:
Before:
<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 0%;"></a>
After:
<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 45%;"></a>

style_percentage

See mcasperson@aafebe5#diff-798da170f510d918462f993a448147fbR53

A new step has been added:

And I modify the element found by "eventButton" by setting the attribute "data-test" to "New Value"

This step works as the expectation. Thanks a lot. So, close the enhancement issue.