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.

Sahi Pro, Telerik WebButtons and javascript?

CathySoQACathySoQA Members
edited January 2013 in Sahi Pro
I am having an issue where Sahi Pro will click the Telerik webbutton but the javascript on click event does not seem to be firing for a Telerik button. This works fine if I do not have the Sahi controller open. I cannot provide a URL but can provide other details if needed.
Basically, when we have certain forms in our app open, we have the ability to Print or Preview them. The on click fires javascript which in turn triggers the IE Open Save Cancel dialog in IE9. If the controller is open, nothing happens with the on click, if the controller is closed, I get the pdf as expected. Any suggestions as to why this wouldn't be working?

IE9
Windows 7 Pro 64 bit

Sahi Pro 4.3.2
Version:
4.3.2
Build:
2012-09-26 14:44:11

Answers

  • Hi,
    Can you elaborate what exactly do you mean when you say that controller is open. Is it still running through Sahi? Or it happens such that when you run through sahi it doesn't works.

    Thanks,
  • I guess you could say both. If I am running through Sahi or even if the controller is just open, PDF files will not open, or even launch the Open/Save/Cancel dialog in IE.

    Launch Sahi Pro
    Click the button to invoke IE
    Launch any web page via the controller
    Navigate to http://sahi.co.in/sahi-pro/ either in or out of the controller launched page
    Click the link Sahi Pro Documentation (PDF)
    Note nothing happens.
    Shut down Sahi Pro
    Now click the link Sahi Pro Documentation (PDF) again.
    Note the Open.Save/Cancel dialog is opened in IE and the PDF will open.
Sign In or Register to comment.