Forum Discussion

m_essaid's avatar
m_essaid
Valued Contributor
11 years ago

File comparison and updating the baseline file

Hi,

I'm trying to create a test that compare files, in a very automated way, I mean, I would just give to Test Execute a path and two files names.



I order to do that I need to do by script (I only use scripts):



1) To turn on "Update" in Options and Stores\Files,

2) Update the baseline

3 Turn off the "Update" setting,

4)  Do the file comparison.



Is this possible by script ? Especially turning on and off Test Complete update settings ?



Any help would be great,



Regards,



Mehdi
  • Philip_Baird's avatar
    Philip_Baird
    Community Expert
    Hi Mehdi, in what way are you wanting to update your baseline file?

     


    Regards,


    Phil Baird

  • m_essaid's avatar
    m_essaid
    Valued Contributor
    Hi Phil,



    I wish I could run Test Execute and sending him 2 parameters (2 files path).

    But I would have to modify during the test recording the update parameters of the project, which appears to be impossible.

    Finaly I solved my problem with WinMerge.



    Regards



    Mehdi