This is a migrated thread and some comments may be shown as answers.

Bind Excel can't updated automatically

3 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
aruna
Top achievements
Rank 1
aruna asked on 17 Feb 2015, 08:56 AM
Hi,

I am using current date time field in my data Excel, but in the excel I have bind is not automatically updated as the time chances frequently, the current date time. It only contains the value(date time) the time I have saved before.

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 19 Feb 2015, 12:45 AM
Hi Aruna,

I tested this using the forumla =TODAY() and it seems to be working as expected. Can you share with me the cell formula you are using, or even better yet the Excel file you are using? Please put the file into a .zip file and attached the .zip file.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
aruna
Top achievements
Rank 1
answered on 20 Feb 2015, 04:36 AM
Hi,

Here I am attached our sample document, in that we used the last sheet (Bind Value) for excel bind. For example, in that excel the start date and end date is automatically calculated, I am saved that excel lastly in today, if tomorrow I bind that excel without saving, it cant updated as current date(tomorrow's date), it only take today's date. 
0
Cody
Telerik team
answered on 20 Feb 2015, 09:14 PM
Hello Aruna,

Thank you for the sample spreadsheet. After further investigation I find that you are correct. Test Studio can only load the last saved value that Excel stored in the spreadsheet file on disk. It cannot run the formula's contained in it. As an example, a cell containing "=NOW()" is stored in the file this way:

<row r="1" spans="1:1" x14ac:dyDescent="0.25">
    <c r="A1" s="1">
        <f ca="1">NOW()</f><v>42055.628697916669</v>
    </c>
</row>

Test Studio (using the Excel API) is getting the last Excel calculated and stored value i.e. <v>42055.628697916669</v>. It cannot run the NOW() formula, or any other formula.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
aruna
Top achievements
Rank 1
Answers by
Cody
Telerik team
aruna
Top achievements
Rank 1
Share this question
or