More Related Content
Similar to Python Harness in TestArchitect - Import, Structure, Actions
Similar to Python Harness in TestArchitect - Import, Structure, Actions (20)
Python Harness in TestArchitect - Import, Structure, Actions
- 1. Python Harness in
TestArchitect
Created by: Han Trung Truong
© 2011 LogiGear Corporation. All Rights Reserved
- 2. Content
Import harnes folder to Eclipse
What in TA harness package?
Declare and write your own TA action
© 2011 LogiGear Corporation. All Rights Reserved
- 3. Import harness folder to Eclipse
In Import wizard, select “Existing Projects into Workspace”,
click Next
© 2011 LogiGear Corporation. All Rights Reserved
- 4. Import harness folder to Eclipse
Select the harness folder, then finish the wizard
© 2011 LogiGear Corporation. All Rights Reserved
- 5. What in TA harness package
© 2011 LogiGear Corporation. All Rights Reserved
- 6. Declare 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
- 7. Declare 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
- 8. Declare and write your own TA action
Give the module a name, click Finish
© 2011 LogiGear Corporation. All Rights Reserved
- 9. Declare and write your own TA action
© 2011 LogiGear Corporation. All Rights Reserved
- 10. Declare 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
- 11. Declare and write your own TA action
© 2011 LogiGear Corporation. All Rights Reserved
- 12. Thank you
© 2011 LogiGear Corporation. All Rights Reserved