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.

Configuring Dashboard with Crome Browser - Issue

avinodkumaravinodkumar Members
edited November -1 in Sahi - Open Source
Hi Narayan,

I have tried referring to the link win32.xml file, but i have pointed to that link and i could not post the link in thread, so i am pasting the content of the file.

I don't see the links appearing for Crome on Dashboard.

I don't see the browser logo(png) seems to be appear, after configuration.

Could you please help me with the settings/configuration.

Thanks,
Vinod

*****Start*****
<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>

<browserType>
<name>ie</name>
<displayName>IE 8</displayName>
<icon>ie.png</icon>
<path>$ProgramFiles\Internet Explorer\iexplore.exe</path>
<options>-noframemerging</options>
<processName>iexplore.exe</processName>
<useSystemProxy>true</useSystemProxy>
<capacity>5</capacity>
</browserType>

<!--
<browserType>
<name>ie</name>
<displayName>IE 7</displayName>
<icon>ie.png</icon>
<path>$ProgramFiles\Internet Explorer\iexplore.exe</path>
<options></options>
<processName>iexplore.exe</processName>
<useSystemProxy>true</useSystemProxy>
<capacity>5</capacity>
</browserType>
-->

<!--
<browserType>
<name>ie</name>
<displayName>IE 6</displayName>
<icon>ie.png</icon>
<path>$ProgramFiles\Internet Explorer\iexplore.exe</path>
<options></options>
<processName>iexplore.exe</processName>
<useSystemProxy>true</useSystemProxy>
<capacity>5</capacity>
</browserType>
-->

<browserType>
<name>chrome</name>
<displayName>Chrome</displayName>
<icon>chrome.png</icon>
<path>$LOCALAPPDATA\Google\Chrome\Application\chrome.exe</path>
<options>--user-data-dir=$userDir\browser\chrome\
profiles\sahi$threadNo --proxy-server=localhost:9999
--disable-popup-blocking</options>
<processName>chrome.exe</processName>
<capacity>5</capacity>
</browserType>

<browserType>
<name>safari</name>
<displayName>Safari</displayName>
<icon>safari.png</icon>
<path>$ProgramFiles\Safari\Safari.exe</path>
<options> </options>
<processName>safari.exe</processName>
<useSystemProxy>true</useSystemProxy>
<capacity>1</capacity>
</browserType>

<browserType>
<name>opera</name>
<displayName>Opera</displayName>
<icon>opera.png</icon>
<path>$ProgramFiles\Opera\opera.exe</path>
<options> </options>
<processName>opera.exe</processName>
<useSystemProxy>true</useSystemProxy>
<capacity>1</capacity>
</browserType>

*****End*****

Comments

  • SumitraSumitra Members
    Hi avinodkumar,

    $LOCALAPPDATA in
    <path>$LOCALAPPDATA\Google\Chrome\Application\chrome.exe</path>
    
    is an environment variable that points to your "Application Data" folder where Chrome is installed by default.

    Please check if chrome is available in the default location. If not, replace it with the chrome installation path on your machine and restart Sahi.

    Also note, the LOCALAPPDATA variable is available only in Windows Vista or higher.

    Regards
    Sumitra
  • Thanks Sumitra.

    The solution works, as i have Windows XP so i have given the correct path and it is working.

    Thanks,
    Vinod
This discussion has been closed.