This is a migrated thread and some comments may be shown as answers.

Checkboxes not being Checked

2 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 21 Aug 2012, 10:31 PM
Hi,

I am encountering an issue where there are several checkboxes that need to be checked and saved.  I see that the boxes are checked on the frontend, however they're not being reflected in the backend.  I have tried the following methods and they all failed:

1. recording the click with "simulate real clicks" AND "invoked onclick" set to true
2. using a coded step with the following code:

ActiveBrowser.NavigateTo("http://........);

HtmlInputCheckBox CheckAnimated = Find.ById<HtmlInputCheckBox>("is-animated-ad");
CheckAnimated.Check(true, true);

HtmlInputCheckBox CheckExpanding = Find.ById<HtmlInputCheckBox>("is-expanding-ad");
CheckExpanding.Check(true, true);

HtmlInputCheckBox CheckTaskbar = Find.ById<HtmlInputCheckBox>("is-taskbar-ad");
CheckTaskbar.Check(true, true);

HtmlInputCheckBox CheckPopover = Find.ById<HtmlInputCheckBox>("is-popover-ad");
CheckPopover.Check(true, true);

both method failed, I would appreciate it if you can provide me a better solution to this problem. 

thanks,
Dan

2 Answers, 1 is accepted

Sort by
0
Dan
Top achievements
Rank 1
answered on 22 Aug 2012, 06:38 PM
This turned out to be a compatibility issue with the web appplication and internet explorer, when its run on firefox, this checkboxes are working fine, it is no longer an issue for me.
0
Cody
Telerik team
answered on 22 Aug 2012, 06:53 PM
Hello Dan,

Thank you for the update! We're very glad to hear this is no longer an issue.

All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Dan
Top achievements
Rank 1
Cody
Telerik team
Share this question
or