Page 1 of 1

silverlight - form load

Posted: Wed Jun 29, 2011 10:59 am
by meterrr
hi
i ve got serious problem ;)

i have web page with silverlight form wchich i have to test
how can i check if form is loaded ? so i can use buttons etc

Form form = Host.Local.FindSingle(@"/dom/body/form//form[@name='Silverlight Control']");

i tried
form.visible
form.valid
form.enabled
form.state

Re: silverlight - form load

Posted: Wed Jun 29, 2011 12:47 pm
by Support Team
Hi,
meterrr wrote:i have web page with silverlight form wchich i have to test
how can i check if form is loaded ? so i can use buttons etc
To be sure if the form is loaded completely, search for an element inside this form. Choose an element which is for sure there if the site is completely loaded. That's the recommended way by Ranorex. Please look also to following documentation http://www.ranorex.com/support/user-gui ... eouts.html

Regards,
Peter
Ranorex Team