webedit wait property
I am retrieving the value from a webedit for diferrnt inputs.But for few inputs,it takes time to display the result in the webedit field.
So I was using the wait(10) statement before the GETroproperty.So the overall the performance is decreased.So I thought of using the syn.point.
Please find the code below:
Browser("Test.html").Page("Test.html").WebEdit("Te st").WaitProperty "innertext", value,10000
var = Browser("Test.html").Page("Test.html").WebEdit("Te st").GetROProperty("value")
Can I use the wait property like above.
Here I have a question too.If the value is displayed before the specified time (10sec) then it won't wait upto 10 sec.Am I correct?
Re: webedit wait property
Use a Loop and check value very 1 sec and when the value is not blank exit the loop