Robotframework (b) Ride simple use and shortcut keys

Source: Internet
Author: User

First, a simple example

Note: The following actions are used to shortcut keys, please ensure that there is no conflict with other software shortcut settings, such as Sogou Pinyin, Youdao dictionary and so on

1. Start Ride

To start the ride method:

1) through the interface icon

2) DOS command line: Enter DOS window, enter ride.py, press ENTER

2. Create a new project

To create a method:

1) created via the File menu in the menu bar

2) shortcut key: Ctrl + N

3. Create a test suite (suite)

To create a method:

1) Right click on First Test, select New Suite in the Popup right menu item, then enter the test set name

2) shortcut key: ctrl+shift+f

4. Save the Project

Shortcut key: Ctrl+shift+s (Save the whole project), Ctrl+s (local save, only save the mouse click on the part)

5. Create a use case

To create a method:

1) Right click on the Test_suite, select New Test case in the popup right-click menu, enter the use cases name, save

2) shortcut key: ctrl+shift+t

6. Writing Use Cases

Use case parsing: Assigning a value to a variable ${var} and then printing the value of ${var}

${var}: Variable

Set varivable: Built-in keyword to assign a value to a variable

Log: Built-in keyword for printing information

7. Executing Use Cases

Execution method:

1) Click Run in the workspace and click the Start button

2) Shortcut key: F8 (If you have installed Youdao dictionary, there may be conflicts)

Second, shortcut keys:

Rename--"F2

Search keywords--"F5

Execute use Case--"F8

Create a new project--"CTRL + N

Create a new test set--"ctrl+shift+f

Create a new use case--"ctrl+shift+t

Create New keyword--"ctrl+shift+k

Move up the use case--"ctrl+↑

Move down the use case--"ctrl+↓

Display keyword Information--"CTRL + mouse hover (hovering over keywords)

Auto complement keyword--"ctrl+shift+ space"

Delete line--"ctrl+d

Delete cell--"ctrl+shift+d

Insert Cell--"ctrl+shift+i

Insert line--"ctrl+i

Shield code--"ctrl+#

Unblock--"ctrl+$

Save the whole project--"Ctrl+shit+s

Local save, save mouse click Part-"Ctrl+s

View log--"Ctrl+l

View report--"Ctrl+r

Note: If the shortcut key is not available, first see if any other software has used the appropriate shortcut key

http://blog.csdn.net/mengfanbo123/article/details/9698921

Robotframework (b) Ride simple use and shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.