Hello all,
I'm new to using Test Studio for automation testing, so I apologize if this ends up being a basic question.
I have a Silverlight pop-up window that I'm trying to automate and I've able to use Test Studio to record all of the steps. However, when I run the test it fails to click on a check-box like it's supposed to. That step is simply "Click 'ObjectTag'" and the code behind simply looks like this:
I attempted to write some code to select the check-box, but because of it being a Silverlight page I've been unable to do so.
I also have a very hard time with Test Studio and the Silverlight pop-up window. I haven't been able to get the hover feature to work in the Silverlight window the way that it does on a normal page, so I can't get it to single out the checkbox at all. I'm guessing that is why I'm just getting the "Click 'ObjectTag'" for that step.
Any recommendations? I'm using Visual Studio 2010 and Internet Explorer 8.
I'm new to using Test Studio for automation testing, so I apologize if this ends up being a basic question.
I have a Silverlight pop-up window that I'm trying to automate and I've able to use Test Studio to record all of the steps. However, when I run the test it fails to click on a check-box like it's supposed to. That step is simply "Click 'ObjectTag'" and the code behind simply looks like this:
/// <
summary
>
/// Find logic
/// (Html): [id 'Exact' silverlightControlHost][tagIndex 'Exact' object:0]
///
/// </
summary
>
public ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl ObjectTag
{
get
{
return Get<
ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl
>("id=silverlightControlHost", "|", "tagIndex=object:0");
}
}
I attempted to write some code to select the check-box, but because of it being a Silverlight page I've been unable to do so.
I also have a very hard time with Test Studio and the Silverlight pop-up window. I haven't been able to get the hover feature to work in the Silverlight window the way that it does on a normal page, so I can't get it to single out the checkbox at all. I'm guessing that is why I'm just getting the "Click 'ObjectTag'" for that step.
Any recommendations? I'm using Visual Studio 2010 and Internet Explorer 8.