TextAreaTag content scrolling.

Ask general questions here.
sunitha
Posts: 24
Joined: Thu May 14, 2009 2:06 pm

TextAreaTag content scrolling.

Post by sunitha » Wed Jun 10, 2009 3:22 pm

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. :?

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Post by Ciege » Wed Jun 10, 2009 4:57 pm

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}");