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
8
votes
1 answer

Make CSS Selector (first-child) work in Behat 3 with Sahi Driver

I was just wondering if you could point out where the problem is here, if it's Behat, the CSS selector, or the Sahi Driver. We have just upgraded to Behat 3 and are using Sahi Driver (most recent open source version). We have found that any Behat…
sugarwaffle
  • 551
  • 1
  • 5
  • 13
7
votes
2 answers

Can't upload a file with Sahi / Mink / Behat in a Symfony2 application

I am using Mink and Sahi for my user interface tests inside a Symfony2 application. But actually I can't manage to upload a file with Sahi. My Sahi server is up and running: [09:51:33] coil@ubuntu:~/Webdev/sahi/bin$ ./sahi.sh -------- SAHI_HOME:…
COil
  • 7,201
  • 2
  • 50
  • 98
3
votes
2 answers

How to run Sahi tests as part of a Hudson build?

In the absence of a Maven plugin for Sahi, what's the easiest way to run Sahi tests from Hudson?
Andrew Swan
  • 13,427
  • 22
  • 69
  • 98
3
votes
0 answers

Sahi OS with mailtrap.io extremly slow

Im using Sahi OS to look for emails in mailtrap shared inbox. I can navigate to the folder, search for an email containing a string, do whatever has to be done and logout. The issue is the speed.. It takes about 1 second for each step in navigation,…
3
votes
2 answers

How to use regular expression in sahi script?

I am using sahi for automate the website, when I record the actions from the sahi recorder then it record click action of a button(actually "span") as _click(_span("Done[4]")); but when I play the recorded script then it got failed on that line as…
BhushanK
  • 1,205
  • 6
  • 23
  • 39
3
votes
2 answers

How to click in a specific part of a Button using Selenium, for the list of options to be displayed?

Manikandan
  • 417
  • 4
  • 8
  • 18
2
votes
2 answers

Why doesn't my sahi controller come up?

I just installed Sahi and I can't seem to figure out why I am not able to bring up the controller. I tried with Alt and double click. Any suggestions?
2
votes
3 answers

Sahi: Set input field using jQuery

In sahi, I'd like to know if it's possible to set the value of a text field using jQuery? When I use the code below in the sahi controller, the field is set and all is good with the world, but when I add that to a script I get an error saying that…
2
votes
0 answers

Open source Sahi v5 execution never ends

My Sahi execution never ends. It's like there's some kind of deadlock internally. I have developed a simple example that reproduces the problem. It creates and starts the Sahi proxy, then instantiates a browser and navigates to a web page, then it…
Ricardo
  • 41
  • 6
2
votes
1 answer

Designing an webtesting DSL to be implemented by different Web testing drivers - should we mix primitive and non-primitive operations?

We are implementing a web test automation project for some intranet applications. To easy the writing of each test, we are designing a Java DSL that can be implemented using different adapters (we've chosen Sahi and Selenium/WebDriver so far, as we…
Sebastian
  • 1,835
  • 3
  • 22
  • 34
2
votes
1 answer

Sahi sign in to mailtrap.io issue

I'm having an issue with Sahi Open Source logging into Mailtrap.io the script is quite simple: _navigateTo("https://mailtrap.io/"); _setValue(_textbox("email"), "emailHere"); _setValue(_password("user_password"), "passHere"); _click(_submit("Log…
2
votes
0 answers

Concurrent Browsers through Java's API for Sahi

I am utilizing Sahi Pro's sahi.jar package for Java. Normally, Sahi Pro allows the user to execute one test across concurrent instances of different web browsers through their testrunner.bat file. I cannot find a similar method to implement in…
Matt
  • 51
  • 3
2
votes
1 answer

Scheduling automated scripts suite run from schedular

So I tried and tried but couldn't figure out this one for some reason. how can I run a task from a desired directory instead of System32 directory where cmd.exe is. so, when I schedule a task and try to run it .. command prompt suppose to go to…
2
votes
0 answers

How to set timeout/limit of Sahi

I'm having a little trouble in finding a way to get the limit/timeout defined. So I've looked around for a setting on a yaml that I could apply, but found nothing. I've saw that the limit is set on Behat\SahiClient\Client::__construct(). So after a…
mloureiro
  • 957
  • 1
  • 12
  • 34
2
votes
2 answers

How to make Jenkins use already existing environment variables set on a slave node?

I am making use of a batch script that is supposed to run on a slave node, which makes use of Sahi. The environment variable for Sahi is set as 'SAHI_HOME' on the node. When I run the batch I figure out, it is not able to locate Sahi classes. How…
Sid06
  • 75
  • 1
  • 8
1
2 3
11 12