Page 1 of 1

How to resize widgets within a web-page

Posted: Thu Sep 07, 2017 9:13 am
by nataka
Hi,

I have a web-Application, where you can configure your own user interface by using widgets, which are div-elements. It's similar to the gadgets in Jira. The widgets can be placed everywhere whithin the web-page and the size can be adjusted too.

My question is, is ranorex able place the widget to a specific position and to resize the widgets by pulling its edge with the mouse or perhaps by using something like the invokeAction>resize? Or any possibility with usercode-actions?

Regards

Re: How to resize widgets within a web-page

Posted: Thu Sep 07, 2017 9:20 am
by odklizec
Hi,

In my opinion, the only thing you can do is to use a combination of Mouse Down, Mouse Move and Mouse Up actions to simulate the mouse click & drag within the AUT. I don't think there is a built-in method for your exact problem. You will just have to code the mouse click & drag according your needs.