Esempio n. 1
0
        public void WhenICreateEntryUsingRandomCodeAndDesc(string code, string desc)
        {
            var TMPage     = new TMpage();
            var randomCode = TMPage.CreateRandomCode();

            _context.Code = randomCode;
            _context.Desc = randomCode + "desc";

            TMPage.CreateTMWithValues(driver, _context.Code, _context.Desc);
        }
Esempio n. 2
0
        public void WhenICreateEntriesUsingValuesFromTable(Table table)
        {
            var code   = string.Empty;
            var desc   = string.Empty;
            var data   = table;
            var TMPage = new TMpage();

            for (var i = 0; i < data.Rows.Count; i++)
            {
                code = data.Rows[i]["code"];
                desc = data.Rows[i]["desc"];
                TMPage.CreateTMWithValues(driver, code, desc);
            }
        }
Esempio n. 3
0
        public void WhenICreateEntryUsingCodeAndDesc(string code, string desc)
        {
            var TMPage = new TMpage();

            TMPage.CreateTMWithValues(driver, code, desc);
        }