Possible Duplicate:
how to wait until the textbox enable in watin
i have one textbox on my page on the load event textbox is disable for 10 then its enable so how to wait for 10 sec in watin. i am try to this code
for enabling and disabling the textbox on the form load event disable the text box and on on timer tick event enable the text box and disable the timer.
the timer interval is 11 sec
IE ie = new IE("http://localhost:2034/WebForm3.aspx");
ie.ShowWindow(WatiN.Core.Native.Windows.NativeMethods.WindowShowStyle.Maximize);
ie.TextField("TextBox1").TypeText("Fer");
but it gives the error that TextBox1 is disable so i want to wait for some time. so how to do this? please help me?
you May try these Links for the ‘wait’
wait 1
wait 2
wait 3
wait 4
**to use it is —
Or this On