18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Problem with extraInfo

jmonrealjmonreal Members
edited November -1 in Sahi - Open Source
In the TestRunner.java

theres this portion of code

...
if (map.get("initJS") != null) {
testRunner.setInitJS(map.get("initJS"));
}
if (map.get("extraInfo") != null) {
testRunner.setInitJS(map.get("extraInfo"));
}
...

it should be

...
if (map.get("initJS") != null) {
testRunner.setInitJS(map.get("initJS"));
}
if (map.get("extraInfo") != null) {
testRunner.setExtraInfo(map.get("extraInfo"));
}
...

Could you guys make this change and update de current version? Or how may I make the change and create again the jar file?

Thanks.

Comments

  • Hi jmonreal,

    You need ant to make a build of sahi and there is build.xml file that contains target's for creation of jar file,compile..

    Make the required changes and go to the sahi root folder and use

    ant quick jar ant-jar

    to create a jar file.

    Regards
    Theeran.
  • To create the jar file is:

    ant quick jar jar-ant

    I did it, but now Sahi doesn't start my firefox browser.
    Why this bug isn't fixed in the last version?
Sign In or Register to comment.