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

How to configure the rule in sakuli_gearman_proxy.cfg that modify the output of sakuli?

I want to implement a rule which sets the status to WARN in case of a concrete error.Can someone please help.
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

How to assert that image contains required text in Sakuli?

I want to monitor a Dashboard, example as given below : I want to assert that it contains the below specified text, would taking a junk of small screenshots and then asserting the image has the below text works? or is there any better way to do…
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

Running Multiple Scripts in Sahi

I want to run all the scripts one by one sequentially. I've created a suite file and included scripts in suite. When I run a suite, the scripts run in parallel in multiple browsers. I would like to run them one after the another in a single…
0
votes
0 answers

Sahi unable to open pdf file on clicking print button

Sahi unable to display pdf file .Can anyone please provide some tips.Verified testsuite.properties everything seems to be okay.
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

Click on button opens new window ,how do I select second opened window in sahi?

When I click on button on base window it opens a new window ,I want to perform action on second window .How do I select the second window in sahi? Tried with _selectWindow(1); but doesnt work..
JBOSSUSER
  • 35
  • 9
0
votes
3 answers

How to access 'fill' element of circle tag in sahi code

I want to access the fill element of circle tag in tag and assign the value to a variable. fill value is #08C65B. I tried with the below line but unable to get…
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

How to close a popup window in sahi?

' How to close a popup window in sahi ? if(_windowExists("Technischer Fehler")) { _click(_link("SCHLIESSEN")); } else { } I get the error WindowExists is not defined whereas I have already defined it at the start of the program as var…
JBOSSUSER
  • 35
  • 9
0
votes
0 answers

Sahi error 5xx how can I bypass this error

I am getting the following error: ' The web server threw a 500 Internal Server Error at Tue Jan 5 00:32:40 CET 2020' Without sahi I am able to open the page . How can I bypass this error?
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

Creating an array for multiple instances targeting IDs with non static members

I am trying to automate text boxes to fill with a certain value, however the text boxes names are not static so they will always change. I am looking to find a way to always populate them even though they do not have a static name and how to find…
0
votes
1 answer

Pure HTML/CSS Vertical Char won't appear on Email Content when sent through Sahi Pro

In my automatic email which is 100% functional and responsive I have a simple HTML table which works 100% with the following code: '' + '' + '
John Berry
  • 37
  • 6
0
votes
1 answer

sahi: How to use the escape char in javascript

In my app i will add row and update the fields next to it. eg. as below 1 User1namefield 2 User2namefield for this first i need to identify label 1 and 2 and then i need to go and updated username field. Below code will work -…
0
votes
1 answer

how to configure browser in sahi when using java

I want use java to write sahi script ,in Official website String browserType = "firefox"; Browser b = new Browser(browserType); b.open(); but when I run it it's has exception as below: Exception in thread "main"…
Tianya
  • 1
0
votes
0 answers

How can I click the link in a Toaster message in Sahi Script

Upon completion of filling up a form , and clicking submit , a toaster message is generated (visible for only a few seconds) How can I click the link in a Toaster message in Sahi Script ?
0
votes
1 answer

Counting Elements in Sahi

The search of a particular query displays the it's results in the form of a elements contained inside a div. How can I count the number of search results(elements) inside that div after the search is complete. Note : Results are inside a "div" and…
0
votes
1 answer

Sahi on Jenkins DB error - Connections could not be acquired from the underlying database

Error - java.sql.SQLException: Connections could not be acquired from the underlying database! (..) INFO: Error in Sql Query. CREATE TABLE IF NOT EXISTS SUITEREPORTS (ID BIGINT IDENTITY, SUITEREPORTID VARCHAR(255), SUITENAME VARCHAR(2000), SUITEPATH…
abiab
  • 83
  • 1
  • 8