Closed dehanw closed 7 years ago
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>
<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 0%;"></a>
<a class="ui-slider-handle ui-state-default ui-corner-all" href="#" style="left: 45%;"></a>
See https://github.com/mcasperson/IridiumApplicationTesting/commit/aafebe53bb556b2e592661bd34a0d87095eba41f#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.
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>