示例#1
0
            public void ShareskillDeleteDetails()
            {
                test = extent.StartTest("Skill share Delete record details");
                Shareskill obj = new Shareskill();

                obj.ManageListingsDeleteDetails();
                try
                {
                    Assert.AreEqual("ListingManagement", Global.GlobalDefinitions.driver.Title);
                    test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Skill Share Details were Deleted Successfully");
                }
                catch (Exception e)
                {
                    Console.WriteLine("You are on the Wrong Page");
                    test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Details of Share skill are not deleted");
                }
            }
示例#2
0
            public void ShareskillViewDetails()
            {
                test = extent.StartTest("Skill share view details from Manage Listing");
                Shareskill obj = new Shareskill();

                obj.ManageListingsServiceDetails();
                try
                {
                    Assert.AreEqual("Service Detail", Global.GlobalDefinitions.driver.Title);
                    test.Log(RelevantCodes.ExtentReports.LogStatus.Pass, "Found the Record and could view the details successfully");
                }
                catch (Exception e)
                {
                    Console.WriteLine("You are on the Wrong Page");
                    test.Log(RelevantCodes.ExtentReports.LogStatus.Fail, "Could not get the details of the specific record");
                }
            }