silverlight - form load

Class library usage, coding and language questions.
meterrr
Posts: 2
Joined: Thu Jun 16, 2011 10:12 am

silverlight - form load

Post by meterrr » Wed Jun 29, 2011 10:59 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: silverlight - form load

Post by Support Team » Wed Jun 29, 2011 12:47 pm

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