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.

How to Creat new window

madanmadan Members
edited November -1 in Sahi - Open Source
Hi,
I am working on one Desktop Application using SAHI tool . In this application I want to open
multiple window at same time.but sahi is not allowing me to open multiple windows.it is showing
the popup "firefox is already running,but not responding.............".I am using Mozilla firefox.
please help me out.

Regards,
Madan

Comments

  • Hi medan

    you try to open Firefox with the same profiles.
    Try to open Firefox per command line and set the -profile option. Just see the config/browser.xml for the full browser option.

    Does this help?

    Regards
    Wormi
  • Hi,

    Note: I am running the java code directly from Eclipse .I am not using command prompt.

    I am pasting the below code form sahi\userdata\config\browser_types.xml, can you tell me where exactly i have to do the changes for opening multiple browsers at a time.


    <browserTypes>
    <browserType>
    <name>firefox</name>
    <displayName>Firefox</displayName>
    <icon>firefox.png</icon>
    <path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>
    <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
    <processName>firefox.exe</processName>
    <capacity>5</capacity>
    </browserType>

    <browserType>
    <name>firefox4</name>
    <displayName>Firefox 4</displayName>
    <icon>firefox.png</icon>
    <path>$ProgramFiles\Mozilla Firefox 4.0 Beta 7\firefox.exe</path>
    <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
    <processName>firefox.exe</processName>
    <capacity>5</capacity>
    </browserType>
Sign In or Register to comment.