First thing you should know is that HP is having a severe identity crisis and is planning on selling its PC division.
Both of the laptops you are looking at have the Intel i7 cpu. That will probably decrease the life of the laptop. They tend to generate more heat then the laptop can dissipate properly. That tends to cause problems about the time warranty expires.
What do you plan on using the laptop for?
I am planning to purchase a laptop. After comprehensive research interms of specs I've filtered down my options to Dell XPS 15 and HP dv6tqe series. Both have similar hardware specs.
I am not able to decide on the brand, which one to buy. I would be glad if you could provide me some information/guidance in this regard for e.g. reliability in terms of any hardware problems, battery issues etc.