Testautomation in Motion - ASQF...© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth |...
Transcript of Testautomation in Motion - ASQF...© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth |...
1© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Validierung sicherer Antriebsteuerungen
Dirk Beinert
Testautomation in Motion
2© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Infoteam Software AG BU Industry
SmartPLCOpenPCS
TestautomatisierungMicrosoft Team Foundation
Server
Software für Automatisierung
Anforderungsanalyse
Systemdesign
Software-
anforderungen
Softwaredesign
Softwareimplementierung
Softwareintegration
Systemintegration
Inbetriebnahme ,
Wartung
Interaction Design
3© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Agenda
• Testaufbau und Testziele• Infoteam Testautomatisierung im Detail• Ausgewählte Testszenarien• Ausblick mit neuer Ranorex-Version• Weitere UI-Testkonzepte
4© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Testaufbau
5© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Test-Rack
IEC-Steuerung (PROFIsafe)
Frequenzumrichter und Gateways
Sicherheits-Steuerung
PC mit IBN-Software und Ranorex
Unterbrecher-Relais (PLC-Programm)
6© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Kommunikation
2 Zugriffswege!
7© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Ranorex-Testautomatisierung
8© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Microsoft Active Accessibility (MSAA)
…und weitere: EnumWindows, SendMessage, etc.
Quelle: MSDN
9© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
xPath und Funktionen
10© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Details Network-Scan
11© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Excel-Repository
12© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Excel-Skripte
13© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Testfälle
14© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Testbeispiel
15© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Unterbrechungen
16© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Parameterdaten
17© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Ranorex 3.0
18© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Ranorex Unittests
19© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Coded-UI Tests
VS 2010 Ultimate + TFS notwendig
• Erstellung aus Recording
• Umwandlung aus manuellen Test
• Coded UI Builder
20© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
WPF (MVVM) Testing
Model
ViewModel View
Button: Up
Textbox: Value
ICommand: IncrValue
Variable: Value
Binding
Binding
Client
Repository: Value
Initialisiere Rahmen und damit View
Initialisiere ViewModel
Setze DataContext der View
Anwendungsrahmen
Initialisierung
Container für View
UnitTest
21© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Fazit
Testautomatisierung ist in Bewegung!
22© 2010 infoteam Software AG| Am Bauhof 9 | 91088 Bubenreuth | Germany | Phone +49 9131 78000 | Fax +49 9131 780050 | www.infoteam.de | V 2.4
Testing und Safety Day Franken 2011
Contact
infoteam Software AG
Am Bauhof 9
91088 Bubenreuth
Germany
Phone: +49 (0) 9131 78 000
Fax: +49 (0) 9131 78 0050
www.infoteam.de
www.infoteam.de