18 January 2026:


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.

Click on radio button in IE8 is not simulating actual click event

zerenzeren Members
edited October 2011 in Sahi - Open Source
Clicking on a radio button sets the radio button to true but not exactly simulating click event. For example , When I click on Radio2 it should set a DIV section and elements within that.
This works manually but sahi is not doing the same.

Following click shows it sets the Radio2, but it is not setting a div area based on the click event passed.

_call(_radio("Radio2").click());
_assert(_radio("Radio2").checked); ---- button shows as clicked and this succeeds.


I tried following too, but it is not working.
_call(_sahi.simulateMouseEvent(_radio("Radio2"), "click"));


( Windows XP, IE8, Sahi (Build: 2011-05-25) )

Somebody please provide a solution to this.

Thanks.

Comments

  • really appreciate if somebody can suggest a workaround for this issue...
  • Hi zeren,

    Setting Div section and elements based on click of radio2,may involve some ajax request or processing.
    Check if this setting involves any ajax call and if so,
    check if the sahi code is injected into those files.

    If it is so,go through the following link,that describes about the exclude_inject.txt file.

    http://sahi.co.in/w/trouble-shooting-sahi

    let us know if the problem persists.

    Regards
    Theeran.
  • Thanks a lot Theeran..I got it working..:)
This discussion has been closed.