Page 1 of 1

TextAreaTag content scrolling.

Posted: Wed Jun 10, 2009 3:22 pm
by sunitha
In my web application I a m getting the TextArea as TextAreaTag.

My requirement is to scroll to the bottom of text area. Ranorex isnt recognizing the scroll Bar.

I tried to create Scrollbar by using

ScrollBar sc=new ScrollBar(repo.WebDoc.MyTextAreaTag);

I am getting Runtime exception "Element isnt support scrollbar" .

So please suggest how can i scroll down in mytextarea. :?

Posted: Wed Jun 10, 2009 4:57 pm
by Ciege
Why not click in the text area then use Keyboard.Press and do a CTRL-END to jump to the bottom of the text?

Code: Select all

Keyboard.Press("{ControlKey DOWN}{End}{ControlKey UP}");