#2708
Support
Guest

Hello,

Some double quotes signs were in incorrect format, c# code is Ok. So, here is the script which worked for us:

// script_version=3.0; everystep_version=4.0.5953.25078; date=4/19/2016; IE=11.0.9600.17126
Tabs.ConfigureIEVersion (BrowserMode.IE11, DocumentMode.IE11Emulate);
Tabs.SetSize (1768, 651);
DMBrowser tab0 = null;
Step (1, “The input element – HTML5 tutorial – http://www.html-5-tutorial.com/input-element.php”);
tab0 = Tabs.NewTab ();
tab0.GoTo (“http://www.html-5-tutorial.com/input-element.php”);
// produces random number in range from 18 to 120
int r = (new Random (DateTime.Now.Second)).Next (18, 121);
tab0.TextField (“//INPUT[@TYPE=\”number\”]”, “//INPUT[@NAME=\”age\”]”, “//B[normalize-space()=\”Age:\”]/..//INPUT”).TypeText (r.ToString ());