简体   繁体   中英

What packages do I need to include to use AutomationCore?

I am setting up a C#/Selenium automation framework/test by following the article found here

In the following code, "Test" is a custom test framework that was built in previous steps.

using NUnit.Framework;
using OpenQA.Selenium;
using Test;
namespace AutomatedTestCases
{
    [TestFixture]
    public class Sanity : AutomationCore
    {
        [Test]
        public void ClickContactUs()
        {
            Browsers.getDriver.FindElement(By.Id("menu-item-1296")).Click();
        }
    }
}

The issue I am having is I can't find what package needs to be included in order to inherit from "AutomationCore" and the Google is failing me. Is this a typo or is there actually an AutomationCore class somewhere?

AutomationCore is a class that your Sanity class is inheriting from. You need to create that class and implement it first.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM