Boeing has confirmed its 787 Dreamliner will make its first flight in the final three months of this year.