This chapter discusses loop structures used to repeat processes in programs. It covers using for-next loops to repeat a process a set number of times and do loops to repeat until or while a condition is met. Specific topics covered include using accumulators and counters, avoiding infinite loops, priming loops, validating data, nesting loops, and selecting the appropriate loop type based on the repetition needs. Examples are provided for each loop structure.
This chapter discusses using procedures and exception handling in programs. It covers creating a splash screen, pausing it, adding a combobox, handling events, coding sub and function procedures, passing arguments, creating class variables, and using try-catch blocks to handle exceptions. Procedures should perform single tasks, substantial processing, and sub and function procedures should be used appropriately to break a larger program into manageable parts.
Chapter 4 — Variables and Arithmetic Operationsfrancopw
The chapter discusses variables and arithmetic operations in Visual Basic. It covers how to create and program textbox and label objects, declare string and numeric variables, use assignment statements, literals and constants. Arithmetic operators and operations are explained as well as converting data types, formatting numeric output, concatenating strings, and debugging programs. Event handling such as the form load event are also covered.
This chapter discusses using decision structures in programming, including if/then statements, if/then/else statements, nested if statements, logical operators, case statements, and validating user input. Techniques covered include placing radio buttons in a group box, displaying message boxes, making decisions based on conditions, using logical operators like AND and OR, and ensuring numeric values are entered. The chapter aims to teach how to control program flow and respond differently to different conditions.
This chapter discusses variables and arithmetic operations in coding. It covers how to create and modify textbox and label objects, declare string and numeric variables, use assignment statements, literals and constants, arithmetic operators, format numeric output, debug programs, and more. The objectives are to understand variables and arithmetic operations, work with different data types, debug code, and perform tasks like data conversion and concatenation.
This chapter discusses program design and coding in Visual Basic, including how to change object properties, add and size images, enter and run code, use IntelliSense, add comments, correct errors, close forms, and print code. It also covers preparing an event planning document to design program events and tasks before coding.
Chapter 3 provides students with the skills and knowledge necessary to complete phases 2,3,and 4 of the PDLC by enhancing a GUI mock-up, designing program processing objects, and coding a program. Topics include using IntelliSense when writing code and enhancing a Visual Basic 2010 form by changing the BackColor property of an object and displaying images. This chapter also explains how to enter Visual Basic 2010 code, correct errors, and run a completed program. Finally, the chapter discusses the value of creating an event planning document.
Chapter 2 — Program and Graphical User Interface Designfrancopw
Chapter 2 introduces students to the major elements of the Visual Studio 2010 integrated development environment (IDE) while designing a graphical user interface mock-up. Topics include opening Visual Studio 2010, creating a Windows Forms Application project,adding objects to a Windows form, assigning properties to objects,aligning objects on the Windows form,and saving Visual Basic projects. The chapter also discusses how to apply GUI design principles and examines the first two phases of the program development life cycle (PDLC).
This chapter discusses decision structures in Visual Basic, including how to use If/Then statements, Else/If statements, logical operators, Select Case statements, and validating user input. It provides examples of placing radio buttons and group boxes, displaying message boxes, and inserting code snippets. The objectives are to make decisions and validate data using these different decision structures.
This chapter discusses using procedures and exception handling in programs. It covers creating a splash screen, pausing it, adding a combobox, handling events, coding sub and function procedures, passing arguments, creating class variables, and using try-catch blocks to handle exceptions. Procedures should perform single tasks, substantial processing, and sub and function procedures should be used appropriately to break a larger program into manageable parts.
Chapter 4 — Variables and Arithmetic Operationsfrancopw
The chapter discusses variables and arithmetic operations in Visual Basic. It covers how to create and program textbox and label objects, declare string and numeric variables, use assignment statements, literals and constants. Arithmetic operators and operations are explained as well as converting data types, formatting numeric output, concatenating strings, and debugging programs. Event handling such as the form load event are also covered.
This chapter discusses using decision structures in programming, including if/then statements, if/then/else statements, nested if statements, logical operators, case statements, and validating user input. Techniques covered include placing radio buttons in a group box, displaying message boxes, making decisions based on conditions, using logical operators like AND and OR, and ensuring numeric values are entered. The chapter aims to teach how to control program flow and respond differently to different conditions.
This chapter discusses variables and arithmetic operations in coding. It covers how to create and modify textbox and label objects, declare string and numeric variables, use assignment statements, literals and constants, arithmetic operators, format numeric output, debug programs, and more. The objectives are to understand variables and arithmetic operations, work with different data types, debug code, and perform tasks like data conversion and concatenation.
This chapter discusses program design and coding in Visual Basic, including how to change object properties, add and size images, enter and run code, use IntelliSense, add comments, correct errors, close forms, and print code. It also covers preparing an event planning document to design program events and tasks before coding.
Chapter 3 provides students with the skills and knowledge necessary to complete phases 2,3,and 4 of the PDLC by enhancing a GUI mock-up, designing program processing objects, and coding a program. Topics include using IntelliSense when writing code and enhancing a Visual Basic 2010 form by changing the BackColor property of an object and displaying images. This chapter also explains how to enter Visual Basic 2010 code, correct errors, and run a completed program. Finally, the chapter discusses the value of creating an event planning document.
Chapter 2 — Program and Graphical User Interface Designfrancopw
Chapter 2 introduces students to the major elements of the Visual Studio 2010 integrated development environment (IDE) while designing a graphical user interface mock-up. Topics include opening Visual Studio 2010, creating a Windows Forms Application project,adding objects to a Windows form, assigning properties to objects,aligning objects on the Windows form,and saving Visual Basic projects. The chapter also discusses how to apply GUI design principles and examines the first two phases of the program development life cycle (PDLC).
This chapter discusses decision structures in Visual Basic, including how to use If/Then statements, Else/If statements, logical operators, Select Case statements, and validating user input. It provides examples of placing radio buttons and group boxes, displaying message boxes, and inserting code snippets. The objectives are to make decisions and validate data using these different decision structures.
This document provides instructions for creating a simple business rule composite in Oracle SOA Suite. The steps include:
1. Creating a new SOA project and empty composite.
2. Dragging a business rule component into the composite, defining input and output messages by importing types from the MDS, and selecting input/output types without copying to the project.
3. Dragging a mediator to the component lane, selecting the business rule component as input and defining mappings to copy data between input/output without copying types to the project.
4. Double clicking on the business rule component to create decision tables with rules and functions to validate input and return output.
The document provides an overview of the Visual C# 2010 programming language and the Visual Studio integrated development environment (IDE). It describes some of the key windows and tools in Visual Studio used for writing, debugging, and organizing C# code. It then provides examples of how to use common controls like labels, buttons, textboxes, checkboxes, and progress bars in Windows Forms applications. The document is intended to help readers learn the basics of building graphical user interfaces in C# using Visual Studio.
This document provides instructions for creating a monthly household expense spreadsheet using OpenOffice Calc. It will teach how to enter text and numbers in cells, use the SUM function to add cell values, and create charts from worksheet data. The lesson has students complete a sample budget spreadsheet by entering expense categories and amounts for each month to become familiar with basic Calc functions.
This chapter discusses creating Windows applications in C# using Visual Studio, including differentiating between Windows and console applications, using forms and controls like buttons and labels, and handling events. It provides an overview of graphical user interfaces and windows applications, and demonstrates how to create a simple Windows application with forms and controls through code examples. The document also covers best practices for application design and the use of Visual Studio for developing Windows applications.
This lesson teaches how to create and interpret a cash flow statement in a spreadsheet. It shows how to apply bold formatting to text, create formulas to add, subtract and multiply values. The lesson opens a sample cash flow statement file and teaches how to calculate total cash disbursements, income taxes, and net change in cash for each month using formulas.
This document provides an overview of creating a Windows Forms application in C#. Key points include:
- A Windows Forms app contains Program.cs, which runs the form, and Form1.cs, which defines the form.
- Controls can be added to the form visually or through code and have properties like text and events like click handlers.
- Common tasks like input, output, and problem solving are similar to console apps but use Windows forms techniques instead of console output.
- Several exercises demonstrate creating GUIs and handling events and input/output for a Windows Forms application.
The document discusses various window controls in C# .NET including message boxes, forms, buttons, labels, text boxes, check boxes, radio buttons, date/time pickers, progress bars, and dialog boxes. It provides details on how to use each control, its purpose, and relevant properties.
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007ITVAMP, LLC
This document provides a training guide for configuring project plan templates in Microsoft Project 2003. It covers topics like customizing outline codes, inserting text columns, formatting Gantt charts, configuring calendars and resources, and saving templates. Step-by-step instructions are provided for tasks like defining column definitions, customizing fields, editing lookup tables, and using the Gantt chart wizard to format bars and views. The goal is to teach users how to design and maintain project templates in MSP 2003.
Spreadsheets Introduction using RM Number MagicMalcolm Wilson
- Number Magic is a spreadsheet program that allows users to enter numerical data, perform calculations with formulas, and analyze and present data using graphs.
- It has tools for recording and analyzing data, including a topic bank for adding words and pictures, formula builder for easier calculations, and data sorting. Users can create different types of graphs to visualize information.
- The program operates at four levels of complexity and includes features like a detector for monitoring sensory data over time.
This document provides instructions for performing various tasks in a spreadsheet program, including entering data, performing calculations with formulas, formatting cells and sheets, inserting charts and graphs, and printing options. Key points covered include entering numbers and text, inserting and deleting rows and columns, using basic math formulas like addition and subtraction, copying and filling formulas, creating a sine graph with an XY chart, customizing the chart appearance, and setting headers and footers for printing. The document provides step-by-step guidance for completing common spreadsheet tasks.
This document provides an overview of chapters and labs for a hands-on Xamarin.Forms tutorial. Chapter 1 explains how to create a basic Xamarin.Forms app. Chapter 2 covers pages like ContentPage and TabbedPage. Chapter 3 reviews layouts such as StackLayout, AbsoluteLayout and Grid. Chapter 4 discusses views like ActivityIndicator, DatePicker, Editor and Picker. The tutorial concludes with a sample app that incorporates pages, layouts and views.
Creating a Schematic Design in OrCAD Capture CISMd.Maruf Ahamed
The document provides steps to create a schematic design in OrCAD Capture CIS including:
1. Creating a new project and specifying the project type as schematic.
2. Adding parts by selecting them from libraries and placing them on the schematic page.
3. Connecting parts by drawing wires between valid connection points.
4. Adding input and output ports by selecting them from libraries and customizing properties.
5. Creating tools like cross reference reports, bills of materials, and simulation profiles to prepare the design for simulation and synthesis.
This document discusses additional controls that can be used in Windows forms in C#, including combo boxes, list boxes, radio buttons, check boxes, and group boxes. It provides code examples for loading and retrieving data from these controls. It also covers creating custom dialog boxes, setting tab order, handling form events like closing, and passing data between forms using the DialogResult enumeration and Tag property. The slides include examples of forms using these concepts with explanations of the code.
The document outlines procedures in Visual Basic, including sub procedures, function procedures, methods, argument promotion, value types vs. reference types, and passing arguments by value vs. reference. It provides examples of each type of procedure and discusses key concepts like scope, overloading, and recursion. Visual Basic procedures allow programmers to organize and structure their code into logical, reusable units.
The document provides details about 12 sample Visual Basic applications to demonstrate the use of various controls and programming concepts in Visual Basic. It includes applications to display labels and textboxes, perform arithmetic operations, use option buttons, create a student form, use timers and shapes, move items between lists, format text, use menus for calculations, print a series, and create a puzzle game. Code snippets are provided for each application example.
This document provides a tutorial on creating a graphical user interface (GUI) in Visual Basic Express to control a Phidget servo controller. It describes installing Visual Basic Express, creating the GUI with labels, a trackbar, and button, writing code to handle events like loading the form, trackbar movement, and Phidget attachment/detachment. The code initializes label texts, sets the trackbar range and value, centers the servo when attached, links the trackbar to change the servo position, and updates labels with status information. The tutorial is intended for beginners to learn how to interface Visual Basic with Phidget hardware.
This document discusses how domains are used in IBM Maximo Asset Management to standardize data entry and prevent incorrect information. It describes the different types of domains including alphanumeric, numeric, numeric range, table, crossover, and synonym domains. It provides details on how to create, find, and configure domains and explains how they work to provide lists of allowed values or copy values between fields in different applications.
The document discusses various features of the Visual Basic Editor in Microsoft Office, including:
1. It describes how to open the Visual Basic Editor from within Word or other Office applications using keyboard shortcuts or menu options.
2. It outlines the main windows of the Visual Basic Editor, including the Project Explorer, Code window, and Object Browser.
3. It provides details on features like Auto List Members, Quick Info, and List Constants that help provide information about code as you work.
This document provides a guide for creating a database in Microsoft Access. It outlines steps for creating a database and tables, designing tables with fields and data types, entering records, sorting data, generating queries to retrieve and relate data between tables, and practicing exercises to apply the concepts. Modification trials are also suggested to enhance understanding of changing primary keys, field properties and arranging query results.
This document provides an overview of different types of loop structures in Visual Basic, including input boxes, list boxes, counters, accumulators, and data validation. It discusses using input boxes to retrieve user input, populating list boxes, and different types of loops - Do While, Do Until, For...Next loops. It provides examples of using these loops to iterate through items in a list, sum a series of numbers, and get user input. It also covers concepts like counters, accumulators, nested loops, and selecting the appropriate loop type.
The document discusses new and improved debugging features in Visual Studio 2015, including easier breakpoint configuration with an inline toolbar, simplified context menus, and settings windows that appear as peek windows. It also covers breakpoint conditions that allow hitting a breakpoint based on the number of hits or a conditional expression. Breakpoint actions allow logging messages to the output window. Additionally, the improved Error List in VS 2015 displays all errors at once, allows filtering by severity and error code, and links error codes to documentation.
Quick Test Professional (QTP) is an automated testing tool that allows users to test applications and author test scripts using a keyword-driven and GUI-based approach. The document discusses various QTP concepts like object repositories, checkpoints, parameters, and exception handling. It also provides sample questions and answers related to using features of QTP like object identification, data driving tests, handling dynamic objects, and comparing different types of object repositories.
This document provides instructions for creating a simple business rule composite in Oracle SOA Suite. The steps include:
1. Creating a new SOA project and empty composite.
2. Dragging a business rule component into the composite, defining input and output messages by importing types from the MDS, and selecting input/output types without copying to the project.
3. Dragging a mediator to the component lane, selecting the business rule component as input and defining mappings to copy data between input/output without copying types to the project.
4. Double clicking on the business rule component to create decision tables with rules and functions to validate input and return output.
The document provides an overview of the Visual C# 2010 programming language and the Visual Studio integrated development environment (IDE). It describes some of the key windows and tools in Visual Studio used for writing, debugging, and organizing C# code. It then provides examples of how to use common controls like labels, buttons, textboxes, checkboxes, and progress bars in Windows Forms applications. The document is intended to help readers learn the basics of building graphical user interfaces in C# using Visual Studio.
This document provides instructions for creating a monthly household expense spreadsheet using OpenOffice Calc. It will teach how to enter text and numbers in cells, use the SUM function to add cell values, and create charts from worksheet data. The lesson has students complete a sample budget spreadsheet by entering expense categories and amounts for each month to become familiar with basic Calc functions.
This chapter discusses creating Windows applications in C# using Visual Studio, including differentiating between Windows and console applications, using forms and controls like buttons and labels, and handling events. It provides an overview of graphical user interfaces and windows applications, and demonstrates how to create a simple Windows application with forms and controls through code examples. The document also covers best practices for application design and the use of Visual Studio for developing Windows applications.
This lesson teaches how to create and interpret a cash flow statement in a spreadsheet. It shows how to apply bold formatting to text, create formulas to add, subtract and multiply values. The lesson opens a sample cash flow statement file and teaches how to calculate total cash disbursements, income taxes, and net change in cash for each month using formulas.
This document provides an overview of creating a Windows Forms application in C#. Key points include:
- A Windows Forms app contains Program.cs, which runs the form, and Form1.cs, which defines the form.
- Controls can be added to the form visually or through code and have properties like text and events like click handlers.
- Common tasks like input, output, and problem solving are similar to console apps but use Windows forms techniques instead of console output.
- Several exercises demonstrate creating GUIs and handling events and input/output for a Windows Forms application.
The document discusses various window controls in C# .NET including message boxes, forms, buttons, labels, text boxes, check boxes, radio buttons, date/time pickers, progress bars, and dialog boxes. It provides details on how to use each control, its purpose, and relevant properties.
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007ITVAMP, LLC
This document provides a training guide for configuring project plan templates in Microsoft Project 2003. It covers topics like customizing outline codes, inserting text columns, formatting Gantt charts, configuring calendars and resources, and saving templates. Step-by-step instructions are provided for tasks like defining column definitions, customizing fields, editing lookup tables, and using the Gantt chart wizard to format bars and views. The goal is to teach users how to design and maintain project templates in MSP 2003.
Spreadsheets Introduction using RM Number MagicMalcolm Wilson
- Number Magic is a spreadsheet program that allows users to enter numerical data, perform calculations with formulas, and analyze and present data using graphs.
- It has tools for recording and analyzing data, including a topic bank for adding words and pictures, formula builder for easier calculations, and data sorting. Users can create different types of graphs to visualize information.
- The program operates at four levels of complexity and includes features like a detector for monitoring sensory data over time.
This document provides instructions for performing various tasks in a spreadsheet program, including entering data, performing calculations with formulas, formatting cells and sheets, inserting charts and graphs, and printing options. Key points covered include entering numbers and text, inserting and deleting rows and columns, using basic math formulas like addition and subtraction, copying and filling formulas, creating a sine graph with an XY chart, customizing the chart appearance, and setting headers and footers for printing. The document provides step-by-step guidance for completing common spreadsheet tasks.
This document provides an overview of chapters and labs for a hands-on Xamarin.Forms tutorial. Chapter 1 explains how to create a basic Xamarin.Forms app. Chapter 2 covers pages like ContentPage and TabbedPage. Chapter 3 reviews layouts such as StackLayout, AbsoluteLayout and Grid. Chapter 4 discusses views like ActivityIndicator, DatePicker, Editor and Picker. The tutorial concludes with a sample app that incorporates pages, layouts and views.
Creating a Schematic Design in OrCAD Capture CISMd.Maruf Ahamed
The document provides steps to create a schematic design in OrCAD Capture CIS including:
1. Creating a new project and specifying the project type as schematic.
2. Adding parts by selecting them from libraries and placing them on the schematic page.
3. Connecting parts by drawing wires between valid connection points.
4. Adding input and output ports by selecting them from libraries and customizing properties.
5. Creating tools like cross reference reports, bills of materials, and simulation profiles to prepare the design for simulation and synthesis.
This document discusses additional controls that can be used in Windows forms in C#, including combo boxes, list boxes, radio buttons, check boxes, and group boxes. It provides code examples for loading and retrieving data from these controls. It also covers creating custom dialog boxes, setting tab order, handling form events like closing, and passing data between forms using the DialogResult enumeration and Tag property. The slides include examples of forms using these concepts with explanations of the code.
The document outlines procedures in Visual Basic, including sub procedures, function procedures, methods, argument promotion, value types vs. reference types, and passing arguments by value vs. reference. It provides examples of each type of procedure and discusses key concepts like scope, overloading, and recursion. Visual Basic procedures allow programmers to organize and structure their code into logical, reusable units.
The document provides details about 12 sample Visual Basic applications to demonstrate the use of various controls and programming concepts in Visual Basic. It includes applications to display labels and textboxes, perform arithmetic operations, use option buttons, create a student form, use timers and shapes, move items between lists, format text, use menus for calculations, print a series, and create a puzzle game. Code snippets are provided for each application example.
This document provides a tutorial on creating a graphical user interface (GUI) in Visual Basic Express to control a Phidget servo controller. It describes installing Visual Basic Express, creating the GUI with labels, a trackbar, and button, writing code to handle events like loading the form, trackbar movement, and Phidget attachment/detachment. The code initializes label texts, sets the trackbar range and value, centers the servo when attached, links the trackbar to change the servo position, and updates labels with status information. The tutorial is intended for beginners to learn how to interface Visual Basic with Phidget hardware.
This document discusses how domains are used in IBM Maximo Asset Management to standardize data entry and prevent incorrect information. It describes the different types of domains including alphanumeric, numeric, numeric range, table, crossover, and synonym domains. It provides details on how to create, find, and configure domains and explains how they work to provide lists of allowed values or copy values between fields in different applications.
The document discusses various features of the Visual Basic Editor in Microsoft Office, including:
1. It describes how to open the Visual Basic Editor from within Word or other Office applications using keyboard shortcuts or menu options.
2. It outlines the main windows of the Visual Basic Editor, including the Project Explorer, Code window, and Object Browser.
3. It provides details on features like Auto List Members, Quick Info, and List Constants that help provide information about code as you work.
This document provides a guide for creating a database in Microsoft Access. It outlines steps for creating a database and tables, designing tables with fields and data types, entering records, sorting data, generating queries to retrieve and relate data between tables, and practicing exercises to apply the concepts. Modification trials are also suggested to enhance understanding of changing primary keys, field properties and arranging query results.
This document provides an overview of different types of loop structures in Visual Basic, including input boxes, list boxes, counters, accumulators, and data validation. It discusses using input boxes to retrieve user input, populating list boxes, and different types of loops - Do While, Do Until, For...Next loops. It provides examples of using these loops to iterate through items in a list, sum a series of numbers, and get user input. It also covers concepts like counters, accumulators, nested loops, and selecting the appropriate loop type.
The document discusses new and improved debugging features in Visual Studio 2015, including easier breakpoint configuration with an inline toolbar, simplified context menus, and settings windows that appear as peek windows. It also covers breakpoint conditions that allow hitting a breakpoint based on the number of hits or a conditional expression. Breakpoint actions allow logging messages to the output window. Additionally, the improved Error List in VS 2015 displays all errors at once, allows filtering by severity and error code, and links error codes to documentation.
Quick Test Professional (QTP) is an automated testing tool that allows users to test applications and author test scripts using a keyword-driven and GUI-based approach. The document discusses various QTP concepts like object repositories, checkpoints, parameters, and exception handling. It also provides sample questions and answers related to using features of QTP like object identification, data driving tests, handling dynamic objects, and comparing different types of object repositories.
The document discusses interview questions related to HP Quick Test Professional (QTP). It includes 25 questions covering topics like QTP features, object repository, descriptive programming, scripting languages, and commonly used functions.
Katalon Studio allows users to create test cases in three modes: record and replay, manual, and script. For record and replay, a user records their test steps which are played back automatically. In manual mode, users can create test cases using Katalon's built-in keywords without programming. For script mode, users can program test cases using Groovy or Java. The document then explains how to create and execute a sample test case in each mode.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses topics like the testing process, add-ins, recording and running tests, the object repository, synchronization, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions for objects not in the repository.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses topics like the testing process, add-ins, recording and running tests, the object repository, synchronization, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions for objects not in the repository.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It describes key aspects of QTP including the testing process, add-ins, recording and running tests, the object repository, object spy, object recognition, synchronization, checkpoints, parameters, actions, recovery scenarios, and using programmatic descriptions without an object repository.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses key aspects of QTP including recording and running tests, using object repositories, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses topics like the testing process, add-ins, recording and running tests, the object repository, synchronization, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions for objects not in the repository.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses key aspects of QTP including recording and running tests, using object repositories, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It describes key aspects of QTP including the testing process, add-ins, recording and running tests, the object repository, object spy, object recognition, synchronization, checkpoints, parameters, actions, recovery scenarios, and programmatic object identification without using the object repository.
The document provides an overview of Quick Test Professional (QTP), a test automation tool. It discusses key aspects of QTP including recording and running tests, using object repositories, checkpoints, parameters, actions, recovery scenarios, and programmatic descriptions.
Dynamic Function Call in PI Sheet (XStep)Ankit Sharma
Using of Dynamic Function Call in PI Sheet (XStep).
Use
You can use this function to call certain SAP functions from within the PI sheet or perform certain calculations and checks in the PI sheet. ABAP function calls that have been created for the corresponding use are used for the function call.
Prerequisites
The function module to be called must exist and be active in the Function Builder (ABAP Development Workbench).
Features
The SAP system contains a number of predefined function modules that you can use in function calls. You can also create your own function modules.
The document provides an interview questions related to Quick Test Professional (QTP). It includes 27 questions covering various topics like object repository, recording and running tests, parameters, checkpoints, and more. The questions would help assess a candidate's knowledge of key QTP concepts and capabilities.
The document discusses lists, loops, and printing in Visual Basic. It covers how to create and populate list boxes and combo boxes, iterate through loops using Do/Loop and For/Next statements, and send information to the printer using the PrintDocument class. Key topics include the Items collection, adding and removing items, selecting items, and exiting loops.
The document provides examples of how to use various Automation Anywhere commands to interact with and extract data from web services and web pages. Key points include:
1) The REST Web Service command can be used to send GET, PUT, POST, and DELETE requests to RESTful APIs and save the responses to variables.
2) The XML command allows getting and updating XML data by defining nodes, and saving XML data to files.
3) The Window Actions command allows performing actions like closing, resizing, maximizing and activating windows.
4) The SOAP Web Service command allows calling and testing SOAP web services and saving the response.
5) The Web Recorder command allows extracting
The document discusses renaming features in Visual Studio 2015. It describes how VS2015 provides renaming assistance through suggestions from the light bulb icon and previews changes before renaming. The renaming window allows renaming variables, methods, properties, classes, parameters and strings. It can also rename code comments and detect conflicts if the new name already exists. Renaming occurs inline and on the fly. The examples demonstrate renaming a variable, method, and parameter across multiple files. VS2015 helps optimize code through intelligent and automated renaming.
The document provides instructions for designing a GUI using QT Designer in PyQT4. It describes how to add labels, line edits, buttons and connect them with signals and slots. It also covers laying out widgets horizontally and vertically, making the GUI responsive by using a grid layout, saving the project as a UI file and converting it to a Python script to execute the GUI application.
The document provides instructions for creating test cases and test steps in Tricentis Standard Modules to automate testing of a web shop application. It includes duplicating and renaming test case folders, adding predefined modules from the modules section to test step folders to create test steps for opening the application, logging in, selecting a product, going through the checkout process, and closing the application. Hints are also provided for customizing the workspace and ensuring all application windows are closed before running the test case.
2. Chapter 6: Loop Structures 2 Objectives Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand the use of counters and accumulators Understand the use of compound operators
3. Chapter 6: Loop Structures 3 Objectives Repeat a process using a For…Next loop Repeat a process using a Do loop Avoid infinite loops Prime a loop Validate data
4. Chapter 6: Loop Structures 4 Objectives Create a nested loop Select the best type of loop Debug using DataTips at breakpoints Publish a finished application using ClickOnce technology
5. Chapter 6: Loop Structures 5 Introduction A fundamental process in a computer program is to repeat a series of instructions either while a condition is true (or not true) or until a condition is true (or not true) The process of repeating a set of instructions while a condition is true or until a condition is true is called looping Another term for looping is iteration
6. Chapter 6: Loop Structures 6 MenuStrip Object A menu bar is a strip across the top of a window that contains one or more menu names A menu is a group of commands, or items, presented in a list
7. Chapter 6: Loop Structures 7 MenuStrip Object With a Windows Form object open in the Visual Studio window, scroll in the Toolbox until the Menus & Toolbars category is visible. If the category is not open, click the expand icon (right-pointing triangle) next to the Menus & Toolbars category name. Drag the MenuStrip .NET component from the Menus & Toolbars category in the Toolbox to the Windows Form object Release the mouse button With the MenuStrip object selected, scroll in the Properties window until the (Name) property is visible. Change the MenuStrip object name to mnuHighwayRadarCheckpoint
8. Chapter 6: Loop Structures 8 MenuStrip Object Click the Type Here box on the menu bar. Type &File to identify the File menu, and then press the ENTER key Click File in the MenuStrip object to select it, scroll in the Properties window to the (Name) property, and then change the name to mnuFile To add a menu item to the File menu, click the Type Here box below the File menu name. Type &Clear and then press ENTER to create a new menu item named Clear with C as the hot key On the File menu, click Clear to select it, scroll in the Properties window until the (Name) property is visible, and then change the name to mnuClearItem
10. Chapter 6: Loop Structures 10 Event Handlers for Menu Items In Design view, double-click the Exit menu item to open the code editing window Using IntelliSense, enter the Close procedure call to close the window and terminate the application
11. Chapter 6: Loop Structures 11 Standard Items for a Menu Visual Basic 2010 contains an Action Tag that allows you to create a full standard menu bar commonly provided in Windows programs Action tags provide a way for you to specify a set of actions, called smart actions, for an object as you design a form With a new Windows Form object open, drag the MenuStrip .NET component onto the Windows Form object. Click the Action Tag on the MenuStrip object Click Insert Standard Items on the MenuStrip Tasks menu Click File on the menu bar to view the individual menu items and their associated icons on the File menu
13. Chapter 6: Loop Structures 13 InputBox Function The InputBox function displays a dialog box that consists of a message asking for input, an input area, a title, an OK button, and a Cancel button When the user enters the text and clicks the OK button, the InputBox function returns this text as a string If the user clicks the Cancel button, the function returns a null string ("")
14. Chapter 6: Loop Structures 14 InputBox Object Default Value The InputBox object can be assigned a default value
16. Chapter 6: Loop Structures 16 Displaying Data Using the ListBox Object Drag the ListBox object from the Toolbox to the Windows Form object where you want to place the ListBox object. When the pointer is in the correct location, release the left mouse button With the ListBox object selected, scroll in the Properties window to the (Name) property. Name the ListBox object lstRadarSpeed
18. Chapter 6: Loop Structures 18 Adding Items During Design Assume the lstStores ListBox object already has been placed and named on the Windows Form object. Select the ListBox object on the Windows Form object and then click the Items property in the Properties window Click the ellipsis button in the right column of the Items property Click in the String Collection Editor window. Type the following items to represent popular retail stores, pressing ENTER at the end of each line: Abercrombie & Fitch Aeropostale American Eagle Express Hollister Click the OK button
21. Chapter 6: Loop Structures 21 Accumulators, Counters, and Compound Operators A variable that contains an accumulated value such as the total of all the speeds is called an accumulator A variable that always is incremented by a constant value is called a counter How many vehicle speeds the user has entered
22. Chapter 6: Loop Structures 22 Accumulators, Counters, and Compound Operators A compound operator allows you to add, subtract, multiply, divide, use modulus or exponents, or concatenate strings, storing the result in the same variable
25. Chapter 6: Loop Structures 25 Using Loops to Perform Repetitive Tasks In the Highway Radar Checkpoint application, the user enters up to 10 vehicle speeds using the InputBox function The repetitive process of entering 10 vehicle speeds can be coded within a loop to simplify the task with fewer lines of code Each repetition of the loop is called an iteration
26. Chapter 6: Loop Structures 26 Repeating a Process Using the For…Next Loop You can use a For...Next loop when a section of code is to be executed an exact number of times
28. Chapter 6: Loop Structures 28 Step Value in a For…Next Loop A Step value is the value in a For...Next loop that is added to or subtracted from the beginning value on each iteration of the loop Default step value is 1 Can be positive or negative, contain decumals, or include variables and mathematical expressions
30. Chapter 6: Loop Structures 30 Repeating a Process Using a Do Loop In a Do loop, the body of the loop is executed while or until a condition is true or false The Do While loop executes as long as the condition is true The Do Until loop executes until the condition becomes true A top-controlled loop is tested before the loop is entered Body might not be executed Bottom-controlled loops test the condition at the bottom of the loop, so the body of a bottom-controlled loop is executed at least once Body executes at least once
31. Chapter 6: Loop Structures 31 Top-Controlled Do While Loops A top-controlled Do While loop begins with the keywords Do While. Next, the condition is specified The body of the loop contains the instructions that are executed as long as the condition is true A loop that does not end is called an infinite loop
33. Chapter 6: Loop Structures 33 Entering a Do Loop Using IntelliSense In the code editing window, enter the intScore variable declaration and then press the ENTER key. Type Do While, a space, and then an IntelliSense list is displayed. Type ints to highlight intScore in the list Type < 5 and then press the ENTER key. Type intS to highlight the intScore variable. Complete the statement by typing += 1 and then pressing the ENTER key. Press the DELETE key to delete the blank line
34. Entering a Do Loop Using IntelliSense Chapter 6: Loop Structures 34
35. Chapter 6: Loop Structures 35 Bottom-Controlled Do While Loop A bottom-controlled loop works the same way as the top-controlled Do While loop The body of the loop is executed before the condition is checked the first time, guaranteeing at least one iteration of a loop will be completed
38. Chapter 6: Loop Structures 38 User Input Loops Do loops often are written to end the loop when a certain value is entered by the user, or the user performs a certain action such as clicking the Cancel button in an input box
39. Chapter 6: Loop Structures 39 Avoiding Infinite Loops An infinite loop is a loop that never ends
40. Chapter 6: Loop Structures 40 Priming the Loop Starting a loop with a preset value in the variable(s) tested in the condition is called priming the loop
42. Chapter 6: Loop Structures 42 Creating a Nested Loop Any loop can be placed within another loop under the following conditions: Interior loops must be completely contained inside the outer loop Must have a different control variable
43. Chapter 6: Loop Structures 43 Selecting the Best Loop Use a Do loop if the number of repetitions is unknown and is based on a condition changing; a For...Next loop is best if the exact number of repetitions is fixed If a loop condition must be tested before the body of the loop is executed, use a top-controlled Do While or Do Until loop. If the instructions within a loop must be executed one time regardless of the status of a condition, use a bottom-controlled Do While or Do Until loop Use the keyword While if you want to continue execution of the loop while the condition is true. Use the keyword Until if you want to continue execution until the condition is true
44. Chapter 6: Loop Structures 44 Using a DataTip with Breakpoints Resolving defects in code is called debugging A good way to collect information is to pause the execution of the code where a possible error could occur Breakpoints are stop points placed in the code to tell the Visual Studio 2010 debugger where and when to pause the execution of the application While in break mode, you can examine the values in all variables that are within the scope of execution through the use of DataTips
45. Chapter 6: Loop Structures 45 Using a DataTip with Breakpoints With the program open in the code editing window, right-click line 47, which contains the code where you want to set a breakpoint, and then point to Breakpoint on the shortcut menu Click Insert Breakpoint on the submenu To run and test the program with the breakpoint, click the Start Debugging button on the Standard toolbar Click the Enter Speed button. Type 75 as the speed of the first vehicle Click the OK button in the input box
46. Chapter 6: Loop Structures 46 Using a DataTip with Breakpoints Point to the variable decVehicleSpeed on line 47 You can view the value in any other variable within execution scope by pointing to that variable. To illustrate, point to the variable decTotalOfAllSpeeds on line 47 Continue the program by clicking the Continue button on the Standard toolbar. Notice that the Continue button is the same as the Start Debugging button Point to the decTotalOfAllSpeeds variable
47. Using a DataTip with Breakpoints Chapter 6: Loop Structures 47
48. Chapter 6: Loop Structures 48 Using a DataTip with Breakpoints To remove a breakpoint, right-click the statement containing the breakpoint, and then point to Breakpoint on the shortcut menu Click Delete Breakpoint on the Breakpoint submenu
49. Chapter 6: Loop Structures 49 Publishing an Application with ClickOnce Deployment After an application is completely debugged and working properly, you can deploy the project Deploying a project means placing an executable version of the program on your hard disk, on a Web server, or on a network server When programming using Visual Basic 2010, you can create a deployed program by using ClickOnce Deployment The deployed version of the program you create can be installed and executed on any computer that has the .NET framework installed
50. Chapter 6: Loop Structures 50 Publishing an Application with ClickOnce Deployment With the program open, click Build on the menu bar Click Publish Radar on the Build menu Change the default location from publishto a file location. To publish to a USB drive, type the drive letter. In this example, enter E: for a USB drive Click the Next button. If necessary, click the From a CD-ROM or DVD-ROM radio button Click the Next button. If necessary, click the The application will not check for updates radio button
51. Chapter 6: Loop Structures 51 Publishing an Application with ClickOnce Deployment Click the Next button Click the Finish button To view the finished result, minimize the Visual Studio window, and then double-click Computer on the Windows 7 Start menu. Double-click the USB drive icon to view the published installation folder To install the application, double-click the setup file After installation, the program will run. To run the installed application again, click the Start button on the Windows taskbar. Point to All Programs, click Radar on the All Programs menu, and then click Radar on the Radar submenu
56. Chapter 6: Loop Structures 56 Summary Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand the use of counters and accumulators Understand the use of compound operators
57. Chapter 6: Loop Structures 57 Summary Repeat a process using a For…Next loop Repeat a process using a Do loop Avoid infinite loops Prime a loop Validate data
58. Chapter 6: Loop Structures 58 Summary Create a nested loop Select the best type of loop Debug using DataTips at breakpoints Publish a finished application using ClickOnce technology