Common rft Functions

Source: Internet
Author: User

Startapp

Start the configured Application

Startbrowser

Start the browser, for example:
Startbrowser ("Internet Explorer", "http://blog.csdn.net/testing_is_believing ");

Loginfo
("Message ")

Logwarning
("Message ")

Logerror
("Message ")

Write logs

 

Sleep

Pause script execution and wait for a specified period of time

 

Waitforexistence

Wait for the specified object to appear

 

Timerstart

Timerstop

Timer, which can be used to analyze the execution efficiency of the interface

 

Callscript

Call the script to run the script.

 

Dpdone

Used to determine whether the data in datapool has obtained the last row (no more than one row can be removed)

 

Dpstring

Retrieve data from the data pool

 

Dpnext

Remove a row of data from datapool

 

Getproperty

Obtains the specified property of the test object.

 

Getproperties

Retrieve all attributes of the test object

 

Setproperty

Set the specified property value of the test object

 

Getmethods

Returns all methods of the test object.

 

Invoke

Call the specified method of the test object

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.