Declare and write your own ta action

Post on 12-Nov-2014

610 views 0 download

Tags:

description

 

Transcript of Declare and write your own ta action

© 2011 LogiGear Corporation. All Rights Reserved

Python Harness in Python Harness in TestArchitectTestArchitect

Python Harness in Python Harness in TestArchitectTestArchitect

Created by: Han Trung TruongCreated by: Han Trung Truong

© 2011 LogiGear Corporation. All Rights Reserved

ContentContent

Import harnes folder to EclipseWhat in TA harness package?Declare and write your own TA action

© 2011 LogiGear Corporation. All Rights Reserved

Import harness folder to EclipseImport harness folder to Eclipse

In Import wizard, select “Existing Projects into Workspace”, click Next

© 2011 LogiGear Corporation. All Rights Reserved

Import harness folder to EclipseImport harness folder to Eclipse

Select the harness folder, then finish the wizard

© 2011 LogiGear Corporation. All Rights Reserved

What in TA harness packageWhat in TA harness package

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

Right-click “User” package, select “New” -> “PyDev Module” to create a module for writing functions in

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

Right-click “User” package, select “New” -> “PyDev Module” to create a module for writing functions in

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

Give the module a name, click Finish

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

To have TA recognize the declared actions, open “ta_main.py” module, follow the screenshot, then save it.

© 2011 LogiGear Corporation. All Rights Reserved

Declare and write your own TA actionDeclare and write your own TA action

© 2011 LogiGear Corporation. All Rights Reserved

Thank you