SAP Testing Tutorial
SAP Testing Useful Resources
Selected Reading
- SAP Testing - Case Study
- SAP Testing - QTP
- SAP Testing - HP Business Process
- SAP Testing - Solution Manager
- SAP Testing - Automation Tools
- SAP Testing - TAO UI Scanner
- SAP Testing - TAO Consolidate
- TAO Build & Execute Test Script
- SAP Testing - TAO Results Analysis
- Configure Quality Testing Center
- SAP Testing - TAO Folder Structure
- SAP Testing - TAO
- SAP Testing - Cases
- SAP Testing - Interfaces
- SAP Testing - Modules
- SAP Testing - Screen Flow
- SAP Testing - Navigation
- SAP Testing - Process
- Testing Type in SAP
- SAP Testing - SDLC
- SAP Testing - Manual & Automation
- SAP Testing - Types
- SAP Testing - Overview
- SAP Testing - Home
SAP Testing Useful Resources
- SAP Testing - Discussion
- SAP Testing - Useful Resources
- SAP Testing - Quick Guide
- SAP Testing - Questions & Answers
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
SAP Testing - Navigation
SAP Testing - Navigation
SAP导航测试确保你涵盖SAP系统的每一单元,并对每个功能进行至少一次测试。 该系统还减少了手工测试工作,涵盖了SAP系统中的大多数测试途径。
能够测试SAP测试导航。 OPA称为Open Source Program 语言,主要用于开发网络应用。 为汇编业务处方案,您可在服务器上使用Node.js,在客户方面使用Javales。
Creating a Test using OPA
OPA允许你在Qunit上使用三个物体。 这些职能应在测试中加以界定,以便审计和调查处了解需要采取哪些行动。
Given - 通过安排。
Example
以下例子说明了如何使用Qunit的所有3个物体:
jQuery.sap.require("sap.ui.test.Opa"); jQuery.sap.require("sap.ui.test.opaQunit"); opaTest("press a Button", function (Given, When, Then) { // Arrangements Given.iStartMyApp(); //Actions When.iPressOnTheButton(); // Assertions Then.theButtonShouldHaveADifferentText(); }
下一步是确定三项职能。
Defining the Functions
var arrangements = new sap.ui.test.Opa ({ iStartMyApp : function (){ return this.iStartMyAppInAFrame("../index.html"); } });
在上述职能中,我们假定,该数字在称为指数.html的网页上运行。 我们的OPA测试位于测试/opa.html夹中。
Defining Arrangements
var actions = new sap.ui.test.Opa ({ iPressOnTheButton : function (){ return this.waitFor ({ viewName : "Main", id : "pressMeButton", success : function (oButton) { oButton.$().trigger("tap"); }, errorMessage : "No Button found" }); } })
Defining Assertions
var assertions = new sap.ui.test.Opa ({ theButtonShouldHaveADifferentText : function () { return this.waitFor ({ viewName : "Main", id : "pressMeButton", matchers : new sap.ui.test.matchers.PropertyStrictEquals ({ name : "text", value : "got pressed" }), success : function (oButton) { Opa.assert.ok(true, "The button s text changed to: " + oButton.getText()); }, errorMessage : "No change in Button s text" )} } })
Running the OPA test
sap.ui.test.Opa.extendConfig ({ arrangements : arrangements, actions : actions, assertions : assertions, viewNamespace : "view." });Advertisements