Comparing two txt files

Hi all,

i am a beginner in using FinalBuilder.

i need to compare the two text file data.

For Example:

File One:

  • Name1  = Santosh
  • Type1 = Hero
  • Number1  = 1002 

File TWO:

  • Name2 = James
  • Type 2 = villain
  • Number2  = 1020

so  I need to compare like

if( Name1 = Name2 ) && ( Type1 = Type2 ) && ( Number1 = Number2)  {  ...... }

.......... so i use the "Read Text File"  to extract the files information but i am unable to write the script to compare

so kindly help me in this case. or else suggest me if any other best way to accomplish comparision task. 

Hi Rasheed,

I've attached an example project which does a field-by-field comparison of two files, hope it helps.:)

Regards,
Paul.

FYI: I've removed the duplicate post from the Automise forums.

Compare.zip (3.506 KB)

Thanks alot Paul Samways. good example