18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Button element in IE/FF
Hi!
I'm having problem with html element <button>. Our app generates it without type parameter, so there is the problem like mentioned in topic "buttons have no value in Internet Explorer".
Firefox means that the <button> is type "submit" and the IE assumes that the <button> is type "button".
But if I want to test my app in both of the browsers I got a problem. Because
_click(_button("Add"));
dosn't work in FF, and
_click(_submit("Add"));
doesn't work in IE. I have already tried the common accessor
_click(_byID("pt1:r1:1:pt1:dc3:dc_cb3"));
but this didn't worked in any browser
What is the solution for this problem?
Thanks
Jirka
I'm having problem with html element <button>. Our app generates it without type parameter, so there is the problem like mentioned in topic "buttons have no value in Internet Explorer".
Firefox means that the <button> is type "submit" and the IE assumes that the <button> is type "button".
But if I want to test my app in both of the browsers I got a problem. Because
_click(_button("Add"));
dosn't work in FF, and
_click(_submit("Add"));
doesn't work in IE. I have already tried the common accessor
_click(_byID("pt1:r1:1:pt1:dc3:dc_cb3"));
but this didn't worked in any browser
What is the solution for this problem?
Thanks
Jirka
This discussion has been closed.
Comments
browser.byId("pt1:r1:1:pt1:dc1:dc_cb3").click();
But this statement in web interface still not working:
_click(_byID("pt1:r1:1:pt1:dc3:dc_cb3"));