Home > Programming, QA, Test and Automation Stuffs > Selenium RC — Key event, Key pressed

Selenium RC — Key event, Key pressed

Hello, 

I will post a simple command that simulates a key pressed in the framework selenium RC.

  selenium.keyPressNative(String.valueOf(KeyEvent.VK_TAB));

You have change the bold word for the command of key you want, in the example, we use the Tab command.

It’s simple, you can search for more commands of the keys in the google or another site of search 🙂

Bye bye !

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: