Is there anyway you can dynamically handle width and height on Svg Tag element? I have a script where I restore down a browser and make sure charts fits to the browser window. I basically login into website and restore down browser window and add a verification element to the test as shown below:
Verify attribute 'width' has 'Same' value of '968' on 'SvgTag0'
Verify attribute 'height' has 'Same' value of '252.5' on 'SvgTag0'
Test runs fine if always the width and height is exactly same. But usually this is not the case. If you resize and then restore down the attribute values will change. Is there any way you could handle this dynamically since its always hard to restore down the browser to exact same width and height?
Thanks,
Mamata
Verify attribute 'width' has 'Same' value of '968' on 'SvgTag0'
Verify attribute 'height' has 'Same' value of '252.5' on 'SvgTag0'
Test runs fine if always the width and height is exactly same. But usually this is not the case. If you resize and then restore down the attribute values will change. Is there any way you could handle this dynamically since its always hard to restore down the browser to exact same width and height?
Thanks,
Mamata