silverlight - form load : Automation API

silverlight - form load

Class library usage, coding and language questions.

silverlight - form load

Postby meterrr » Wed Jun 29, 2011 11: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
meterrr
 
Posts: 2
Joined: Thu Jun 16, 2011 11:12 am

Re: silverlight - form load

Postby Support Team » Wed Jun 29, 2011 1: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests

cron