Automated Test Frame RRAFS-SAFTWARE Automation Framework Support - 3

zhaozj2021-02-16  53

Research on ClassicsC_V2001 files

How do these documents interact, what is the role?

The research ClassicsC_v2001 must be mentioned in the .cdd, .std, .sdd file (Cycledriver Driver, STEPDRIVER DRIVER) three files. Where. Cdd and .std file can be found in classicsc_high.xls, which is analyzed by Exportxltables.Rec script. Open the classicsc_high.xls file, you can see the .sdd file that is needed in the suit table in the .cdd file.

Figure: Table regression.cdd

LoginWintests, mainwintests, four .sdd files are listed in the form, and these SDD files are also saved in the classicsc_high.xls file as each Work-Sheet.

Rt; RT

Steps

Sep

Arg

Arg

Arg

Description:

T

Launchclassicsc

Launch Rational's Classicsc.exe Sample Application from The Classics Online Directory.

T

VerifyLoginwin

^ Title = "Classics Login"

^ Box.Text = "Account INFO"

^ CheckBox.text = "Remember Password"

Verify The window toplex and the text of the groupbox and the checkbox.

Rt; RT

Steps

Sep

Arg

Description:

T

ExitLoginwin

EXIT The login by exit button.

Form: loginwintest.std

The Suitdriver engine handles the top table. The keyword SDD engine file name under the Step field. He saved as each Work-Sheet in the classicsc_steps.xls file.

Open the classicsc_steps.xls file, you can see the table launchclassicsc.sdd keyword saved as a Work-Sheet. Other keywords, you can see the Work-Sheet with the corresponding keyword in this file.

Rt; RT

Command

Arg

Arg

Arg

Arg

Arg

C

Version

1.0

C

SetApplicationMap

Classicc.map

C

Launchapplication

Classicc

Classicsexe

""

""

Classicc.map

Rt; RT

Window

COMP

Action

Arg

Arg

Description:

T

LoginWindow

LoginWindow

VerifyProperty

CAPTION

Classics login

Make Sure Login Comes Up.

Operational example

What is the role of three REC files?

Studying scripts You can see that the entire test script starts from cycleDrivertest.rectest.rec, and he calls exportxltables.rec, exitmainwin.reca is called script (you can see its name under the EXITMAIN.sdd file).

You will see its running effect after running

转载请注明原文地址:https://www.9cbs.com/read-23765.html

New Post(0)