Top Rounds

_execute

…does a java Runtime.exec() Syntax: _execute(command, isSynchronous) The parameters are: command: … command to be executed isSynchronous: true or false. Set … returns. Setting this to false will execute the command in a thread and continue. Example: …

http://sahipro.com/w/_execute · 2552 days ago

URL Mocks

…is called without a second parameter, net.sf.sahi.command.MockResponder.simple(HttpRequest) is used to … except that it by default calls net.sf.sahi.command.MockResponder.mockImage(HttpRequest) which …

http://sahipro.com/w/url-mocks · 1966 days ago

Load Testing with Sahi Pro (Beta)

…the “Bin” link. This will open up a command prompt at userdata/bin On the command prompt, run …

http://sahipro.com/w/load-testing-with-sahi-pro · 993 days ago

Sahi headless execution with PhantomJS

…dashboard (or navigate to sahi/userdata/bin on a command prompt) and run the command testrunner.bat … dashboard (or navigate to sahi/userdata/bin on a command prompt) and run the command testrunner.bat …

http://sahipro.com/w/sahi-headless-execution-with-phantomjs · 1254 days ago

Running Tests on multiple machines

…on how to configure browser_types.xml Using the command line drun.bat and drun.sh Open … Open a command prompt and cd to sahi/userdata/bin (or click on …

http://sahipro.com/w/running-tests-on-multiple-machines · 993 days ago

CSV Files as Suites with Tags

…click the link labeled as “Bin”. It will open a command window. Use the command “testrunner”. Following … same script but in both firefox and IE using this command. The fourth example uses a .csv file (described … be specified while executing the suite from the command line. Run the command as shown in fourth example …

http://sahipro.com/w/csv-files-as-suites-with-tags · 837 days ago

browser_types.xml

…to browser executable. If you run this from a command line, it should invoke the browser options … OSes the path is not really a file path but a command to invoke the browser. Use force=true in those …

http://sahipro.com/w/browser-types-xml · 1301 days ago

_callServer

…qs) The parameters are: cmd: String command of the form “className_methodName” …

http://sahipro.com/w/_callserver · 2587 days ago

Features

…do not need the browser window to be in focus Command line and ant support for integration into build …

http://sahipro.com/w/features · 2565 days ago

HTTPS/SSL sites

…tries to import the certificate with “certutil” command available on Windows. If Step 1 fails, Sahi then … created. If not, then create it by running the command below on a command prompt. Note that you need … properly for that site. ———-COMMAND START———- keytool -genkey … S=Karnataka, C=IN" ———-COMMAND END———- The files in certs can …

http://sahipro.com/w/https-ssl · 2570 days ago

Running multiple tests in batch mode (V3.5 +)

…url. The suite can be executed through the command line or through ant. Using the commandline … testrunner.bat and testrunner.sh 1) Open a command prompt and cd to sahi/userdata/bin (or click on … is used to run suites and single tests from the command line. Usage: … used to find the pid when using ps or tasklist commands. Ignored if browserType specified. …

http://sahipro.com/w/Running+multiple+tests+in+batch+mode · 1301 days ago

Using Sahi - Old Documentation

…it is a zip file, cancel the unzip dialog, open a command prompt, cd to where the file is downloaded, and … Sahi -> Start Sahi (Click) 3) Start from the command line. Windows: - Go to … played back a Sahi script! Running a test from command line With version 3.5, we have removed individual … replaced it with testrunner.bat and testrunner.sh Command: testrunner.bat <sah file|suite file> …

http://sahipro.com/w/using-sahi-old · 2565 days ago

Adding jars to Sahi's classpath

…need to be added to Sahi’s classpath. From command-line If you are using start_sahi.bat or …

http://sahipro.com/w/adding-jars-to-sahis-classpath · 2042 days ago

Sahi Flex Support - sfl

…directory. Compile with sfl.swc using command line You can compile your flex application with … sfl using the following command (Change sfl version as needed) mxmlc yourapp.mxml … arguments” field, enter the following command: bc. -include-libraries “sfl4.swc” In …

http://sahipro.com/w/sahi-flex-support · 993 days ago

Sahi GUI Less Installation

…it (Esc :wq) Install Sahi Pro using the following command java -jar install_sahi_pro_vxx_2013mmdd.jar …

http://sahipro.com/w/sahi-gui-less-installation · 619 days ago

Older Documentation

…played back a Sahi script! Running a test from command line There are sample scripts available in … directory for running tests on various browsers. Command: ff.bat <sahi_file|suite_file> …

http://sahipro.com/w/older-documentation · 1251 days ago

Reading PDF Files in Sahi

…the text content from pdf files easily from the command line. Prerequisites Download pdfbox-app-1.7.1.jar …

http://sahipro.com/w/reading-pdf-files · 748 days ago

Working with SSH from Sahi

…"~$"; ssh.waitFor($prompt); // Send the command to be executed ssh.sendLine("ls -al"); …

http://sahipro.com/w/working-with-ssh-from-sahi · 761 days ago

Configuring Sahi with Xvfb

…to sahi/userdata/bin on terminal and run the command testrunner.sh demo/sahi_demo.sah …

http://sahipro.com/w/configuring-sahi-with-xvbf · 1221 days ago

Browser Action APIs

…of in the Rhino engine. Details API _execute(command[, isSynchronous]) Notes Executes any server side … command that needs to be invoked via the command line or shell. Useful for invoking other … is true, the function will wait till the command finishes. Details API _callServer() Notes …

http://sahipro.com/w/browser-action-apis · 1970 days ago

Running multiple tests in batch mode (V3.0)

…url. The suite can be executed through the command line or through ant. Using the commandline The … is used to run suites and single tests from the command line. Usage: java -cp /path/to/ant-sahi.jar … could create a batch or shell script with these commands. NOTE: indentation in the examples below is for … provided in sahi/batch_runners directory for ant, commandline and ruby. (They are slightly out-dated) …

http://sahipro.com/w/Running+multiple+tests+in+batch+mode+V3.0 · 2419 days ago

_setFile

…there are any exceptions on the Sahi console (the command prompt). If it shows any FileNotFoundException, …

http://sahipro.com/w/_setfile · 2587 days ago

Release Notes

…added, to pre-configure browsers commandline parameters to TestRunner can be supplied as … Linux which was failing due to incorrect keytool command tokens. Fixed bug where spaces after _include … in Java for radio buttons and checkboxes PID commands detected automatically based on OS. Commands can … on pages with frames (prev. required a reload) Command tokenizing done properly before passing to … automatic addition of "cmd /C" from windows commands in _execute. 02 Sep 2009 ----------- This is a …

http://sahipro.com/w/release-notes · 1874 days ago

Running Sahi Scripts from Java

…SOAP calls, copying over files, invoking shell commands and then, eventually verifying the application …

http://sahipro.com/w/running-sahi-scripts-from-java · 742 days ago

Top Rounds