Questions tagged [sahi]

Sahi is a web browser automation tool, used for writing functional test suites for web sites and web applications. It works in all modern browsers, allowing cross-browser testing.

Sahi is web automation and testing tool used for cross browser testing of complex web 2.0 and Ajax applications.

Sahi is especially suited for cross-browser/multi-browser testing of complex web 2.0 applications with lots of Ajax and dynamic content. Sahi works well in Agile development environments, enabling rapid automation and maintenance and easily integrating with build systems. Sahi saves time and effort with faster development, less maintenance and fast distributed playback. Sahi runs on any modern browser which supports JavaScript.

Sahi is available as an open source free product and as Sahi Pro, the commercial version.

Sahi is similar in concept to the more well established , although the two products work quite differently internally.

169 questions
2
votes
2 answers

How to select a driver in Behat?

I have both Goutte and Sahi installed. How do I know what driver I am using by default? Also how do I change from one driver to the other? Thank You public function iAmOnHomepage() { // $this->getSession()->visit("/"); // …
milof
  • 696
  • 9
  • 25
2
votes
1 answer

How to install Sahi Pro on Windows 7?

I am very novice and beginner of Sahi Automation Tool. I have downloaded "install_sahi_pro_v452_20130205.jar" . After double clicking on that jar file it was opened on WinRAR explorer. How can I install and configure Sahi Pro? Please guide me.
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
2
votes
2 answers

Sahi: Cannot execute scripts recorded in a browser in multiple browsers

Our web application is designed such that the text transform is picked from CSS. There are multiple links on a webpage; hence i will take example of a Next link. When i hover the mouse over Next link in FF, it shows the below…
2
votes
1 answer

Sahi Not working in chrome: NumberFormatException exception is occurred

I'm trying to run the sahi script in Chrome. But when I click the button it throws a NumberFormatException. But it is working in Firefox. The exception message is... Exception: java.lang.NumberFormatException: For input string: "849.4500122070312" …
2
votes
1 answer

Assertion in sahi script for masked password

How can we apply assertion in a sahi script to check whether password field is showing masked value? For example, **********
2
votes
1 answer

Behat 2.4 upgrade issues, or Unrecognized options "extensions" under "behat" - error when attempting to activate sahi extension via behat.yml

Fairly new to this Behat stuff, and I've run into a roadblock I can't seem to get around. I've been staring at the docs, googling like it's my job, and doing my best to refrain from tossing my computer off the fire escape. I'm working with a fairly…
lmb
  • 21
  • 1
  • 3
2
votes
1 answer

Functional testing for our site

I'm working with Mink / Sahi to write a functional test suite for my site. I have a set of tests working through them with Firefox and Chrome, which I'm happy with. They're running nightly on our Jenkins box, and working well. However, because our…
SDC
  • 14,192
  • 2
  • 35
  • 48
2
votes
0 answers

Selenium webdriver vs Sahi

I referred some blogs and earlier post on stack-overflow for this question.. But those comparisons were related with earlier version of selenium(1.0).. As current version of selenium(webdriver) is quite rich and also supports cross-browser and other…
Neo
  • 5,070
  • 10
  • 46
  • 65
2
votes
3 answers

How do i pass parameters from Jenkins to Ant scripts?

For some GUI testing I'm creating a Jenkins task for each GUI module to be tested. Once created I'm using Ant to build these tests, but I'm not aware of how to actually pass parameters from Jenkins to Ant build file? Basically how do I do variable…
user1402561
  • 21
  • 1
  • 1
  • 2
1
vote
4 answers

sahi script for choosing and uploading a file

I'm using Sahi for Test Automation of web application. I have to write a script for sahi for uploading a file. But unfortunately I don't know the way. Can anybody please help me?
vinod
  • 1,115
  • 4
  • 13
  • 24
1
vote
0 answers

Which one is better for writing automated test cases, Behat-Mink Bundle or Sahi Recorder?

At present i am using Behat-Mink Bundle for performing automation testing via sahi.The other way to do Automation Testing is recording Test Cases using Sahi Recorder.So which method is better, Using Sahi Recorder or Behat-Mink Bundle? Thanks for…
Arpit Rawat
  • 1,817
  • 2
  • 20
  • 28
1
vote
2 answers

Configuring eclipse to consider .sah extension as .js extension

I have imported a framework in eclipse. It contains files with .sah extension. I want eclipse to consider those .sah files as .js files (javascript files), so that editing and working on that frameworks get easier. So that I can use short cuts like…
smith
  • 87
  • 7
1
vote
1 answer

Sometimes Sahi Pro script on Jenkins (run with ant) can't find elements at all

Error - Logging exception: Step >_sahi._takePageScreenShot()< did not complete in 90 seconds. This error appears with no logical reason. One time I run a build - all is fine. And other time - this error appears and build fails. Here can see, that…
abiab
  • 83
  • 1
  • 8
1
vote
0 answers

Mink + Driver couldn't connect to host

I am trying to get Mink working on Centos/Apache, but it cannot connect. I have tried with Selenium2Driver, ZombieDriver and last Sahi but I always get a different error. Right now with Sahi: require __DIR__ . '/vendor/autoload.php'; $driver = new…
Apoleo
  • 2,045
  • 2
  • 21
  • 37
1
vote
0 answers

Not able to execute Sahi Scripts from Jenkins

I'm trying to execute both sahi and selenium scripts using testng.xml build.xml . As both the scripts are configured in same project , I assumed its possible to trigger both scripts from Jenkins . But now i'm able to trigger only Selenium scripts…
jeevan s
  • 223
  • 4
  • 14
1
2
3
11 12