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
1
vote
1 answer

sahi - dynamic table

I'm trying to figure out how to find the row number where a particular text value is (it's a dynamically created table, so if something is deleted/added the row num will change.) Then I'd like to get the text from a column in that row (which is…
1
vote
0 answers

Selenium mock server access

I have a website that I want to test using Selenium WebDriver (version 2.28), and to integrate it with my CI (Maven and Hudson). The thing is that in order to properly test the front-end, I need to access the server (for the actual HTML and for REST…
user658693
  • 29
  • 4
1
vote
1 answer

SAHI capture screenshot on assert failure

Were running SAHI automated testing on our web site. Were looking into upgrading to SAHI pro so we can use the _takeSnapShot method. We have thousands of asserts scattered all over our scripts. What we want is some kind of global way so that if an…
Liam
  • 27,717
  • 28
  • 128
  • 190
1
vote
2 answers

Sahi - get element using custom attributes or multiple attributes

I want to get an element in Sahi script using multiple custom attributes of my choice. It is a having different attributes which are dynamically generated. The title attribute is blank that is "". example of the element definition is as…
rahoolm
  • 733
  • 2
  • 12
  • 22
1
vote
1 answer

Sahi pro test suite running one test case only

I'm new to sahi pro I want to run the test suite with two test cases. I'm giving two test case in the Test2.suite and started to run by giving the command testrunner.bat The problem is that it is…
1
vote
1 answer

Sahi can't get access to child iframe elements

I can't get access to child iframe content from twist. I was wondering, but such Sahi code don't executed correctly for me: browser.execute("$('#buttonid',…
1
vote
2 answers

How to select font node in Sahi?

I am using Sahi to record my actions in IE8. My page contains this markup: ButtonText When I click the button defined above, Sahi…
infojolt
  • 5,244
  • 3
  • 40
  • 82
1
vote
1 answer

Unable to generate junit report in Sahi

I have a Test Suite containing 3 test cases(.xls files). Using ant script I am running the test suite but junit report generating all xmls with TEST-excelfw_firefox.xml(/temp/junit/..). So finally I got only one .xml file instead of 3. How to…
babu
  • 123
  • 1
  • 1
  • 11
1
vote
1 answer

Sahi Automated test text fields blank & File uploads don't work

I'm trialling Sahi for test automation. I'm trying to complete forms built with Orbeon forms. I'm using IE9 on Windows 7. Basically I complete a form (that's got tabs and links to different stages required for submission). It also includes attaching…
Berrisford
  • 126
  • 9
0
votes
1 answer

How to click on Toolbar element with Sahi for Test Automation?

Web page contain a button with some text for example "Test". This button actually is a toolbar element. (class ="tbButton" id="id",text="Test") and redirects to a certain table when press on it. When I tried to use the following click methods, the…
Know
  • 11
  • 2
0
votes
2 answers

Sahi : File:// protocol support in Sahi

I am evaluating Sahi for automation. My requirement is to automate a web application that is static and based on Html and JavaScript. I tried to record the test but it did not happen. file:///C:/Automation/welcome.html But Sahi doesn't record it. I…
yami
  • 871
  • 1
  • 9
  • 14
0
votes
1 answer

Javascript can't get text inputed by Sahi in an

TL;DR : In a Behat+Mink (@javascript w/ Sahi) scenario, Sahi enter some text in an , and the Javascript in the page isn't able to get what was entered by Sahi UPDATE: Solution : downloading the last version of Sahi fixed the problem.…
Clement Herreman
  • 10,274
  • 4
  • 35
  • 57
0
votes
2 answers

Why Sahi Automated Test Cases aren't running in IE8?

I am new to Sahi Testing tool. I recorded some test cases using Sahi, when I play back in IE 8.. On my Terminal I am getting error: Window/Domain not found: popupNameFromStep=; derivedName=; windowName=; windowTitle=XD Proxy; wasOpened=0; And IE…
Arpit Rawat
  • 1,817
  • 2
  • 20
  • 28
0
votes
0 answers

How to access a function in typescript?

I have written a code to calculate the today's date function today() { const now = new Date(); const monthday = ("0" + now.getDate().toString()).slice(-2); const month = ("0" + (now.getMonth() + 1).toString()).slice(-2); const year =…
JBOSSUSER
  • 35
  • 9
0
votes
1 answer

Sakuli Test sometimes gives 503 (Service temporarily unavailable) error

Test result is in OK status but this error appears on the screen .Can someone help what needs to be cheked? Error : Error in testcase Form-test Cannot find Element within 3000ms by query: Locator: By(css selector, span) identifier: Jetzt…
JBOSSUSER
  • 35
  • 9