© 2011 LogiGear Corporation. All Rights Reserved
Python Harness Exercises
Created by: Han Trung Truong
© 2011 LogiGear Corporation. All Rights Reserved
Exercise 1
Override the “check control exist” action of TA
with a “warning” argument using Python harness
(put the function in a new module in harness. i.e.:
“mod_actions.py”) (2pts)
Objectives:
-Creating a new Python module to implement TestArchitect actions
-Overriding a built-in action of TestArchitect using Python harness
© 2011 LogiGear Corporation. All Rights Reserved
Exercise 2
Using Python harness to create the following actions:
“does control exist” (2pts)
“check url” (2pts)
“get tree node coordinates” (2pts)
“get selected item” (2pts)
Objectives:
- Creating a TA action with a return value
- Using classes in “Control” package to implement TA actions
- Practicing Python
© 2011 LogiGear Corporation. All Rights Reserved
Thank you

Python harness exercises

  • 1.
    © 2011 LogiGearCorporation. All Rights Reserved Python Harness Exercises Created by: Han Trung Truong
  • 2.
    © 2011 LogiGearCorporation. All Rights Reserved Exercise 1 Override the “check control exist” action of TA with a “warning” argument using Python harness (put the function in a new module in harness. i.e.: “mod_actions.py”) (2pts) Objectives: -Creating a new Python module to implement TestArchitect actions -Overriding a built-in action of TestArchitect using Python harness
  • 3.
    © 2011 LogiGearCorporation. All Rights Reserved Exercise 2 Using Python harness to create the following actions: “does control exist” (2pts) “check url” (2pts) “get tree node coordinates” (2pts) “get selected item” (2pts) Objectives: - Creating a TA action with a return value - Using classes in “Control” package to implement TA actions - Practicing Python
  • 4.
    © 2011 LogiGearCorporation. All Rights Reserved Thank you