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
0
votes
4 answers

Sahi scripting wait or time delay

I was wondering if someone could help me. I want to introduce a 10 minute wait or time delay within my sahi script. Can someone confirm the correct command to use? Thanks in advance
snakeeyes
  • 11
  • 2
0
votes
1 answer

Slow Script Error in IE When running sahi test

IE8 is throwing a slow script error when we try and run the following sahi command (in tests/playback or "evaluate expression"): _popup("Editor")._click(_image("Menu, _near(_span("Activity")))); It works in firefox.
0
votes
2 answers

Automating Google chrome extenions with sahi

We are automating chrome extension with sahi. we have loaded our chrome profile with sahi with extension added on profile. we weren't able to get dom elements of extensions. so we are navigating to the url:…
0
votes
1 answer

Start cmd /k and then close at the end of another batch

I've a problem to kill command window launch with cmd /k. To replace in the context, i want to launch automatic tests cases (with SAHI Framework, it ressemble to Selenium for who knows). So, i've to lauch first .bat file which contains tests suites.…
spasfonx
  • 170
  • 7
0
votes
0 answers

Handling Grid Columns using sahi scripting

Situation is - We are automating a test case, where in the user click on Addrow icon on the grid, by doing so a row is added. User will have enter value in the first 2 columns, 3 column is a drop down. We were able to script the test case and when…
0
votes
1 answer

How to define rules to identify issues/duplicate functions for sahi script in sonar qube? Does it support only javascript or java syntax for analysis?

I could successfully integrate Sahi automation tool to SonarQube and could get the results but the issue is to define set of rules to report issues related to sahi script and find duplicate functions. Here is the code snippet of Sahi File name:…
sridattas
  • 459
  • 1
  • 6
  • 21
0
votes
1 answer

How to handle file upload using Sahi testing tool for angular js application?

We have a customer using angular js application and have to support testing of that via Sahi.I have tried some Sahi APIs of setFile to automate the file upload but its not working..Do anyone have idea on how to use those APIs for Angular…
Aish
  • 31
  • 2
  • 7
0
votes
1 answer

Partial assertion issue on Sahi, Javascript

_assertEqual("/" + "887.90" + "/", 887) The above code is not working. We are using Sahi pro automation tool, a JavaScript-based tool. Kindly suggest how to handle the assertion.
Ashok
  • 115
  • 3
  • 8
0
votes
0 answers

Conversion of sahi pro Elementstub to sahi base Elementstub

I have used sahi pro automation tool. The code for setting value to a text box is done using sahi base like textbox("username").setValue("jimmy"). But on run time this piece of code gets changed into sahi pro code like…
Jimmy
  • 35
  • 2
  • 9
0
votes
1 answer

Sahi unable to run the for loop

I have been using a test tool call Sahi. So basically I transferred one of my file, Example.sah , from one computer to another computer. When I run it on my another computer, it can't read the for loop for the code below. I have changed it to while…
0
votes
0 answers

Unable to handle Confirm Navigation pop up in my automation

i am trying to automate a page using SAHI(basically uses the javascript programming language). When i try to navigate from one url to the other i am getting the confirm navigation popup and the browser is stuck till i take any action. Now this…
Mrinal
  • 1
  • 2
0
votes
0 answers

Unable to execute sahi scripts using Teamcity

I have requirement to run sahi scripts using teamcity. I have done following configurations . 1. Created scripts in sahi editor, created build.xml & pushed code to github . 2. Created project in teamcity & have the following configuration: Created…
Divya R
  • 1
  • 2
0
votes
0 answers

Code Coverage of sahi files in ANT

I have a test suite containing sahi files ( Sahi - web browser Automation test tool). I want to run code coverage for this suite using ANT. I am new to sahi & unable to find good documentation to integrate sahi with ANT using emma, jacoco or…
Stack_IQ
  • 438
  • 5
  • 20
0
votes
2 answers

How do I generate Javadoc Style Documentation for SAHI scripts?

I have written all my tests using sahi-script, because it is the recommended way of working with this tool: https://sahipro.com/docs/using-sahi/recommended-usage.html#Language%20Recommendation Now I need to do a documentation in Javadoc style and I…
dima
  • 158
  • 3
  • 14
0
votes
1 answer

Error Sahi when java try to check login data

I'm getting a wrong behavior when I'm trying to do the testing of a login, using Sahi. When I'm running outside of Sahi is working fine. The database in using is mysql. The server I'm using is Wildfly8. This is the error I've got from Eclipse.…