SlideShare une entreprise Scribd logo
1  sur  4
© 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

Contenu connexe

En vedette

Declare and write your own ta action
Declare and write your own ta actionDeclare and write your own ta action
Declare and write your own ta action
Robin0590
 
Installation testing
Installation testingInstallation testing
Installation testing
Robin0590
 
Configuration testing
Configuration testingConfiguration testing
Configuration testing
Robin0590
 
Selenium training
Selenium trainingSelenium training
Selenium training
Robin0590
 
Bài 19: Tạo và làm việc với bảng
Bài 19: Tạo và làm việc với bảngBài 19: Tạo và làm việc với bảng
Bài 19: Tạo và làm việc với bảng
Châu Trần
 
Keindahan Danau Toba
Keindahan Danau TobaKeindahan Danau Toba
Keindahan Danau Toba
Viona Vina
 

En vedette (7)

Declare and write your own ta action
Declare and write your own ta actionDeclare and write your own ta action
Declare and write your own ta action
 
Installation testing
Installation testingInstallation testing
Installation testing
 
kelompok199
kelompok199kelompok199
kelompok199
 
Configuration testing
Configuration testingConfiguration testing
Configuration testing
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Bài 19: Tạo và làm việc với bảng
Bài 19: Tạo và làm việc với bảngBài 19: Tạo và làm việc với bảng
Bài 19: Tạo và làm việc với bảng
 
Keindahan Danau Toba
Keindahan Danau TobaKeindahan Danau Toba
Keindahan Danau Toba
 

Similaire à Python harness exercises

[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
Jerry Chou
 
Automation framework123
Automation framework123Automation framework123
Automation framework123
subbusjune22
 

Similaire à Python harness exercises (20)

Mutation testing Bucharest Tech Week
Mutation testing Bucharest Tech WeekMutation testing Bucharest Tech Week
Mutation testing Bucharest Tech Week
 
Quality of life through Unit Testing
Quality of life through Unit TestingQuality of life through Unit Testing
Quality of life through Unit Testing
 
Improve unit tests with Mutants!
Improve unit tests with Mutants!Improve unit tests with Mutants!
Improve unit tests with Mutants!
 
QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6
 
[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
[PyCon 2014 APAC] How to integrate python into a scala stack to build realtim...
 
Effective testing with pytest
Effective testing with pytestEffective testing with pytest
Effective testing with pytest
 
API Performance Testing
API Performance TestingAPI Performance Testing
API Performance Testing
 
Neutron Extension API
Neutron Extension APINeutron Extension API
Neutron Extension API
 
Automated tests to a REST API
Automated tests to a REST APIAutomated tests to a REST API
Automated tests to a REST API
 
Software development practices in python
Software development practices in pythonSoftware development practices in python
Software development practices in python
 
Docker meetup
Docker meetupDocker meetup
Docker meetup
 
Guice2.0
Guice2.0Guice2.0
Guice2.0
 
Remics experiences(berlin) brian
Remics experiences(berlin) brianRemics experiences(berlin) brian
Remics experiences(berlin) brian
 
DIY in 5 Minutes: Testing Django App with Pytest
DIY in 5 Minutes: Testing Django App with Pytest DIY in 5 Minutes: Testing Django App with Pytest
DIY in 5 Minutes: Testing Django App with Pytest
 
Testing Django Applications
Testing Django ApplicationsTesting Django Applications
Testing Django Applications
 
Puppetconf 2015 - Puppet Reporting with Elasticsearch Logstash and Kibana
Puppetconf 2015 - Puppet Reporting with Elasticsearch Logstash and KibanaPuppetconf 2015 - Puppet Reporting with Elasticsearch Logstash and Kibana
Puppetconf 2015 - Puppet Reporting with Elasticsearch Logstash and Kibana
 
Automation framework123
Automation framework123Automation framework123
Automation framework123
 
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...
 
QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5
 
Python Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | EdurekaPython Interview Questions And Answers 2019 | Edureka
Python Interview Questions And Answers 2019 | Edureka
 

Python harness exercises

  • 1. © 2011 LogiGear Corporation. All Rights Reserved Python Harness Exercises Created by: Han Trung Truong
  • 2. © 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
  • 3. © 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
  • 4. © 2011 LogiGear Corporation. All Rights Reserved Thank you