Page 1 of 1

Set location for Fieldset or legend

Posted: Mon Aug 17, 2015 11:38 pm
by pleugene
Hello,

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.

Re: Set location for Fieldset or legend

Posted: Wed Aug 19, 2015 2:09 pm
by Support Team
Hello pleugene,

May I ask to upload a snapshot of your webpage? (http://www.ranorex.com/support/how-to-c ... 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
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.

Regards,
Johannes