I encountered with some errors when tried to add the NUnit Annotation to my code as shown in below image.
I have done some error research from Here and here also following instructions from here too but no success.
Here is the code:
using NUnit.Framework;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ebay_Test_Project
{
class Program
{
static void Main(string[] args)
{
[Test]
//Instantiate Firefox Driver
//Go to Ebay Website
var driver = new FirefoxDriver();
FirefoxDriver.Navigate().GoToUrl("https://www.ebay.co.uk/");
Assert.AreEqual("ebay", driver.Title)
}
}
}