Groups
Groups
Sign in
Groups
Groups
Silverlight Selenium
Conversations
About
Send feedback
Help
Re: Regarding Script Key & Object ID
115 views
Skip to first unread message
Marcelo Farias
unread,
Oct 12, 2012, 7:33:32 PM
10/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to silverligh...@googlegroups.com
OBJECTID: DOM ID of your Silverlight element. In the example below (reference application), you will see "<object id='silverlight' ..."
http://code.google.com/p/silverlight-selenium/source/browse/trunk/dotnet/Silvernium/ReferenceApplication4.Web/ReferenceApplication.aspx
SCRIPTKEY: DOM alias to your Silverlight control defined by calling
HtmlPage
.
RegisterScriptableObject
. In the example below (also from reference application), you will see "
HtmlPage
.
RegisterScriptableObject
(
"SilverlightFixture"
,
this
);".
http://code.google.com/p/silverlight-selenium/source/browse/trunk/dotnet/Silvernium/ReferenceApplication/SilverlightFixture.xaml.cs
I would suggest you use (and extend) the Fixtures layer. See:
http://code.google.com/p/silverlight-selenium/wiki/Fixtures#How_to_use_it_with_your_Silverlight_project
[ ]'s
--
Marcelo Bukowski de Farias
marcelo...@gmail.com
Reply all
Reply to author
Forward
0 new messages