Ruby Quick Start

Source: Internet
Author: User

It has been more than two months since I started to learn Ruby language dependencies. I feel that I have never gained a lot. I even read all the ruby language learning tutorials, however, there is always a sense of no way to start.

 

Ruby can also be achieved quickly.

 

The first step is to build an environment. You can prepare this article based on the ruby automated tool of baoju on the testing site.

Http://www.taobao.ali.com/chanpin/km/test/DocLib/ruby%20%E8%87%AA%E5%8A%A8%E5%8C%96%E7%9A%84%E5%B7%A5%E5%85%B7%E5%87%86%E5%A4%87.aspx

 

After installing SVN, You can import all the online frameworks to your computer.

Http://svn.test.taobao.net/repos/test-svnrepos/RubyTest/branches/V7944_kangliang_20090910/

Directly imported projects are all online, and any changes will be uploaded to the production environment. Therefore, you only need to delete all hidden. SVN files to become local projects.

One of the minor episodes is that when I search for Su. SVN, every search is empty. I did not solve this problem for a few people. I found that one of the advanced options was found, and the checkbox for searching hidden files and folders was not selected. At that time, I even prepared to manually delete those files.

 

Next, I was guided by the Teacher. Tong Zhan and sang Lin explained the ruby Framework questions to me.

The test framework directory is divided into the Lib for storing the Public Library and the product folder for storing each product line. Each of the smallest sub-product lines includes pages and other six parts ......

How to write the first ruby script. This is an example of writing a login script, which is explained in detail. I don't know whether anyone has ever written a ruby script. My suggestion is: Take this as an example, write it again. This is a process of consolidation and verification.

 

After the code is rewritten, can we write a new script?

Yes, we can start writing scripts. However, we will encounter various problems during the compilation process. After all, we all know that login is the simplest script.

 

What should I do if I encounter any problems in the script writing process? What should I do if the information found in the document library of the testing tool is incomplete?

We also have a new location to provide us with some information:

Http://www.taobao.ali.com/chanpin/km/test/Lists/RubyQA/AllItems.aspx

Here are some of the problems that old people encounter when writing scripts.

 

What if I encounter another strange problem? No way?

I had to ask for advice from baoju and kelan.

Related Article

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.