public void VerifyGraphThree() { WebElementExtensions.Hover(Tooltip_of_Graph3); // builder.MoveToElement(tooltip_of_Graph3).Perform(); string tooltip_msg_of_graph3 = Tooltip_of_Graph3.GetAttribute("alt"); LogHelpers.Write("Tooltip message for Graph 3 is " + tooltip_msg_of_graph3); string msg3 = "Call Activities by Product - Click to go to full report."; Assert.AreEqual(tooltip_msg_of_graph3, msg3); }
public void VerifyGraphTwo() { //builder=new Actions(driver); WebElementExtensions.Hover(Tooltip_of_Graph2); //builder.MoveToElement(tooltip_of_Graph2).Perform(); string tooltip_msg_of_graph2 = Tooltip_of_Graph2.GetAttribute("alt"); LogHelpers.Write("Tooltip message for Graph 2 is " + tooltip_msg_of_graph2); string msg2 = "Call Activities by Account - Click to go to full report."; Assert.AreEqual(tooltip_msg_of_graph2, msg2); }