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 actionRobin0590
 
Installation testing
Installation testingInstallation testing
Installation testingRobin0590
 
Configuration testing
Configuration testingConfiguration testing
Configuration testingRobin0590
 
Selenium training
Selenium trainingSelenium training
Selenium trainingRobin0590
 
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ảngChâu Trần
 
Keindahan Danau Toba
Keindahan Danau TobaKeindahan Danau Toba
Keindahan Danau TobaViona 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: Override TA Actions & Create New Ones

Mutation testing Bucharest Tech Week
Mutation testing Bucharest Tech WeekMutation testing Bucharest Tech Week
Mutation testing Bucharest Tech WeekPaco van Beckhoven
 
Quality of life through Unit Testing
Quality of life through Unit TestingQuality of life through Unit Testing
Quality of life through Unit TestingSian Lerk Lau
 
Improve unit tests with Mutants!
Improve unit tests with Mutants!Improve unit tests with Mutants!
Improve unit tests with Mutants!Paco van Beckhoven
 
QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6QTP Automation Testing Tutorial 6
QTP Automation Testing Tutorial 6Akash Tyagi
 
[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
 
Effective testing with pytest
Effective testing with pytestEffective testing with pytest
Effective testing with pytestHector Canto
 
API Performance Testing
API Performance TestingAPI Performance Testing
API Performance Testingrsg00usa
 
Software development practices in python
Software development practices in pythonSoftware development practices in python
Software development practices in pythonJimmy Lai
 
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 Inexture Solutions
 
Testing Django Applications
Testing Django ApplicationsTesting Django Applications
Testing Django ApplicationsGareth Rushgrove
 
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 Kibanapkill
 
Automation framework123
Automation framework123Automation framework123
Automation framework123subbusjune22
 
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...Guillaume Finance
 
QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5QTP Automation Testing Tutorial 5
QTP Automation Testing Tutorial 5Akash Tyagi
 
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 | EdurekaEdureka!
 

Similaire à Python Harness Exercises: Override TA Actions & Create New Ones (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: Override TA Actions & Create New Ones

  • 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