CompiledScript.Step (Método)

Definición

Método de agregación y división lógica adicional de un script en partes, incluida la división lógica en los informes.

public virtual void Step(int StepID, string StepDescription)

Parámetros

 StepID  int

 Cadena StepDescription 

Ejemplos

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 ();