Set location for Fieldset or legend

Class library usage, coding and language questions.
Posts: 3
Joined: Thu May 07, 2015 7:46 pm

Set location for Fieldset or legend

Post by pleugene » Mon Aug 17, 2015 11:38 pm


I have a form that has multiple Fieldsets that contains a legend of inputs for user inputs. The Visible property is, however, not accurate even after I tried using the EnsureVisible function. Also the telerik Scroll bar on the form is unable to be detected by ViewSpy.

I am able to find the Fieldset or Legend i wish to focus by

Code: Select all

WebDocument.FindSingle(".//legend[@inndertext='Section 3']")
So I am wondering if there is anyway I can just set the screen location of the Fieldset/Legend to focus on. Or is there any other way I can correctly make the specific legend visible before I proceed and enter the information.

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

Re: Set location for Fieldset or legend

Post by Support Team » Wed Aug 19, 2015 2:09 pm

Hello pleugene,

May I ask to upload a snapshot of your webpage? ( ... pshot.html)
This would help me in analyzing the issues. If you want, you can also send your snapshot to [email protected].

Generally, it should be possible to ensure the visibility and set the value for the input field afterwards by using the 'Set Value'-action.
set_value.png (4.99 KiB) Viewed 1190 times
The 'Set Value' action should also work if the element is not visible at this time.

Could you describe in detail how you implemented the test case? It would be great if you could also share the corresponding module.

Thank you in advance.