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.

button is notclicking for alert window

eshwineshwin Members
edited March 2012 in Sahi - Open Source
Hi,
I am using the following code for clicking the button for alert window

_click(_button("Say my name!"));
_expectPrompt("Hey there, good looking stranger! What's your name?", "")

I have used this code in java framework

browser.button("Say my name!").click();
browser.expectPrompt("Hey there, good looking stranger! What's your name?","");



but I am not able to click on the button.please help ASAP
Sign In or Register to comment.