CompiledScript.Step Method
Definition
Method for aggregation and further logical division of a script into parts, including logical division in reports.
public virtual void Step(int StepID, string StepDescription)
Parameters
StepID int StepDescription stringExamples
Tabs.SetSize (1645, 438); DMBrowser tab0 = null; Step (1, "Check Phone Number Availability Online » Phone Number Monitoring - https://www.phonenumbermonitoring.com/"); tab0 = Tabs.NewTab (); tab0.GoTo ("https://www.phonenumbermonitoring.com/"); tab0.Link ("//A[normalize-space(@TITLE)=\"Client Login\"]", "(//A[normalize-space(text())=\"Client Login\"])[1]", "/HTML/BODY/DIV[1]/DIV/HEADER/DIV[2]/DIV/DIV/DIV/DIV/DIV/A").Click (); Step (2, "Login to Phone Number Monitoring - https://user.phonenumbermonitoring.com/"); tab0.Navigating ("https://user.phonenumbermonitoring.com/guest/ClientLogin.aspx"); tab0.TextField ("//INPUT[@ID=\"txtLogin\"]", "(//INPUT[@TYPE=\"text\"])[1]", "//A[normalize-space()=\"Forgot login?\"]/..//INPUT").Click ();