<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Excel Object — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 02:01:36 +0000</pubDate>
        <language>en</language>
            <description>Excel Object — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Error message when we try to run Excel Object API</title>
        <link>https://community.sahipro.com/forums/discussion/1041/error-message-when-we-try-to-run-excel-object-api</link>
        <pubDate>Fri, 19 Jun 2009 07:39:13 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>surabhipavankumar</dc:creator>
        <guid isPermaLink="false">1041@/forums/discussions</guid>
        <description><![CDATA[I'm using Sahi for the first time, we are trying to automate web application.<br />
<br />
I'm using the below code in order to get the data from the excel..the excel sheet is having two columns in the sheet1..the columns name being userName and password...Under userName and password .....i've given the corresponding values...<br />
<br />
I'm getting the following error when I try to run the below mentioned code:<br />
<br />
Error Message:- JSERROR SyntaxError: syntax error(This error is shown in the log file)<br />
<br />
I'm using MS office 2007.<br />
<br />
Please see the below mentioned code given below that I've used as part of the script...<br />
<br />
var $db = _getDB(&quot;sun.jdbc.odbc.jdbcOdbcDriver&quot;,&quot;jdbc:odbc:Driver={Microsoft Excel Driver(*.xls);DBQ=C:\Documents and Settings\208494\Desktop\Param\parameterization.xls&quot;,&quot;&quot;,&quot;&quot;);<br />
var $XlsData =[];<br />
$XlsData[0]=[];<br />
var $XlsData = $db.select(&quot;select * from [Sheet1$]]&quot;);<br />
var $data1 =($XlsData[0][&quot;userName&quot;]);<br />
var $data1 =($XlsData[0][&quot;password&quot;]);<br />
<br />
_setValue(_textbox(&quot;tbUserName&quot;),($XlsData[0][&quot;userName&quot;]));<br />
_setValue(_password(&quot;tbPassword&quot;), &quot;),($XlsData[0][&quot;password&quot;]));<br />
_click(_imageSubmitButton(&quot;imgLogin&quot;));<br />
<br />
<br />
Is there any settings that I need to do before using the above mentioned..<br />
<br />
Please help..<br />
<br />
Regards,<br />
Pavan.]]>
        </description>
    </item>
   </channel>
</rss>
