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
2 answers

Sahi with TLS1.1

Sahi OS V5.0 throws a Handshake failure exception after the application server being upgraded to TLS1.1. Using the sahi driver, I'm not able to navigate to any url's of this upgraded server. But the older one works fine. Does anyone know how to…
0
votes
1 answer

Using sahi to test sharepoint application

We're trying to test sharepoint application with NTLM authentication using Sahi web testing tool. We have problem with access to the sharepoint using Sahi proxy server - we can't sign in. So if someone know this problem or know how fix it, please…
Bart
  • 1
  • 1
0
votes
2 answers

sahi onScriptFailure doesn't seem to work

I am new to Sahi and I am just trying to take a screenshot on script errors. I have tried to used their demo and the script the website provides for the task, but the onScriptFailure doesn't seem to trigger. I added the alert box and changed the log…
ithken
  • 11
  • 3
0
votes
2 answers

Tooltip text testing in Sahi

How to test Tooltip text by mouse hovering in Sahi tool? I have to hover by mouse on a graph and test the text appear in tooltip after hovering. But I am not able to do with Sahi. Please tell how to do that?
Shubhangi Garg
  • 109
  • 5
  • 17
0
votes
2 answers

Unable to set a global variable

I want to use a function and the parameter I am passing should be set to global all the time. How can I do that? Here is my code: function ReadExcelfunction($FileName,$SheetName,$RowNum,$ColNum,$Parameter) { var $excel =…
Mrinal kumar
  • 67
  • 1
  • 1
  • 9
0
votes
1 answer

sahi screenshot images to desire folder

i a automating my web , there are multiple requirements but one that make me sick is that i want to take snapshot of the web page and then save it into my desire location . It is taking snapshot but not saving in my desire location it saves in it…
0
votes
2 answers

Compare function failing when null value passed to one of the parameters

i am using the below code for comparing two values: function CompareValue($ValueTobePresent,$ExpectedValue) { var $ValueTobePresent=$ValueTobePresent.toLocaleLowerCase(); var $ExpectedValue = $ExpectedValue.toLocaleLowerCase(); …
Mrinal kumar
  • 67
  • 1
  • 1
  • 9
0
votes
0 answers

Multiple browser execution of sahi scripts at the same time

I want to run sahi script via ant integration in different browser at the same time. I tried to specify browser field as "chrome+firefox" in the build.xml. but m getting an error: Sahi tests failed on browser chrome+firefox! Can someone help me…
Balraj Jy
  • 1
  • 2
0
votes
0 answers

Does Sahi an Open Source Automation Testing Tool works with websites built on EmberJs?

I have a website which is built using emnberjs framework. I tried to run sahi automation testing tool against the website and record test scripts. I see sahi is not able to record the fields are any elements present on the website ,was just…
nikned
  • 171
  • 2
  • 12
0
votes
3 answers

Automation of the new Gmail login using sahi

I am using sahi pro web ui automation tool and hit an issue with automating the login to gmail. I was able to automate the older version using setValue in username and password but the new version of gmail login now has two parts, first enter the…
0
votes
1 answer

Runtime Change of an Object in Web Browser during Automation using sahi

I am using Sahi as the Automation tool but I have a problem identifying one of the fields.The field gets changed during runtime and I am unable to catch it. I am attaching the image here. The fields Read and Skipped are both identified by the below…
Mrinal kumar
  • 67
  • 1
  • 1
  • 9
0
votes
1 answer

java.lang.NullPointerException at net.sf.sahi.config.Configuration.getUserProperty

Here is my code. Cant figure out why i am getting the exception. import net.sf.sahi.client.Browser; import org.testng.Assert; import org.testng.annotations.Test; public class browser { @Test public void function2(){ …
Rashmi
  • 17
  • 1
  • 7
0
votes
0 answers

Sahi java driver select window

I'm having issues selecting a pop-up window when writing my tests using sahi java driver. The process of the test searches for a user in a table, selects their record, a pop-up window appears with user information, but I can't find anything on the…
jim7
  • 213
  • 1
  • 2
  • 6
0
votes
1 answer

How can I connect to Oracle DB using Sahi 5.0 OS

I'd like to connect to Oracle Database using Sahi 5.0 OS API: var $db = _getDB($driver, $jdbcurl, $username, $password) or var $db = _getDB("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@dbserver:1521:sid", "username",…
Abdizriel
  • 345
  • 1
  • 4
  • 20
0
votes
1 answer

ERROR : Java Constructor for "net.sf.sahi.plugin.DBClient" with Arguments "string,string,string,string" Not Found

I am a beginner in Sahi Automation Tool. I set the following changes to run my script. 1) In Sahi/Userdata/bin SET SAHI_EXT_CLASS_PATH=%EXT_CLASS_PATH%;d:\Sahi\extlib\db\mysql_connector_java_5.1.34_bin.jar; 2) Downloaded and installed the 64 bit…
Lissy
  • 45
  • 1
  • 1
  • 6