The pre-election campaign in the South Caucasus nation of 3.7 million people which borders Russia was dominated by foreign policy.