Programming Without Coding Technology (PWCT) Getting Started - Create your first Application

download Programming Without Coding Technology (PWCT)  Getting Started - Create your first Application

of 17

  • date post

    11-May-2015
  • Category

    Technology

  • view

    385
  • download

    0

Embed Size (px)

description

Programming Without Coding Technology (PWCT) Getting Started - Create your first Application http://doublesvsoop.sourceforge.net PWCT 1.9 (Art) 2006-2013 Mahmoud Samir Fayed msfclipper@yahoo.com

Transcript of Programming Without Coding Technology (PWCT) Getting Started - Create your first Application

  • 1.PWCT 1.9 Art Documentation ( http://doublesvsoop.sourceforge.net ) 2006-2013, Mahmoud Fayed ( msfclipper@users.sourceforge.net ) _____________________________________________________________________________________Table of contents 1 Creating Hello World GUI Application step by step. 2 Creating Hello World Console Application step by step. [1] Creating Hello World GUI Application step by step. Hi All In this lesson we are going to create our first application using PWCT 1.9 (Art) At first we will run the PWCT environmentFig. 1Fig. 2When we run the PWCT environment we have the Goal Designer and the default application is Start.SSF

2. Fig. 3If we are going to create console application then we will select the template (Console Application Without Coding) In this lesson we are going to create GUI application so we will create new project using the template (GUI Application - Without Coding) 3. Fig. 4 Double click the template name item from the templates listbox to create new project using this template 4. Fig. 5 We will create new folder for our project The folder name is test 5. Fig. 6 And the project file name is test.SSF 6. Fig. 7Fig. 8 When we create new project we have the goal designer window This window contains the Main goal which contains The First Step 7. Now we will add the main window of our application Click Interact button (or Press CTRL+T) to start new interaction processFig. 9 After clicking the interact button we will have the components browser window Using this window we will select a component to interact with itFig. 10 The components are classified into domains and the domains are organized using the tree structure Select the domain (Windows) then select the component (Define new window) 8. Use double click to open it or press EnterFig. 11 After selecting the component we will have the interaction using transporter windowFig. 12 Determine the window title for example (Hello World) then click Ok (or press CTRL+W) 9. Fig. 13 As a result of the interaction process we will return to the Goal designer again but we will notice a change to the steps tree We have now new steps generated as a result of the interaction processFig. 14To run the application click the Run button in the toolbar (or Press CTRL+R)Fig. 15 10. Fig. 16 [2] Creating Hello World Console Application step by step. Now we are going to create the Hello world console application 11. Fig. 17Determine the application name for example Test2.SSF 12. Fig. 18 13. Fig. 19 When we create new project we have the goal designer window This window contains the Main goal which contains The First Step Now we will generate new step to print the text (Hello World) on screen Click Interact button (or Press CTRL+T) to start new interaction processFig. 20 After clicking the interact button we will have the components browser window Using this window we will select a component to interact with it The components are classified into domains and the domains are organized using the tree structure Select the domain (Print Text) then select the component (Print Text to Console) Use double click to open it or press Enter 14. Fig. 21After selecting the component we will have the interaction using transporter windowFig. 22 Write the text "Hello World then click Ok or press CTRL+W to end the interaction processFig. 23As a result of the interaction process we will return to the Goal designer again but we will notice a change to the steps tree We have now new steps generated as a result of the interaction process 15. Fig. 24 Now we will generate another step to wait for a number of second to be able to see the Hello World message on screen Click the Interact button or press CTRL+TFig. 25 Select the domain (Console Application) then select the component Wait (Key/Seconds). 16. Fig. 26 Set checkbox ( Wait nSeconds ) on Then click Ok or press CTRL+W to end the interaction processFig. 27 As a result of the interaction process we will return to the Goal designer again but we will notice a change to the steps tree We have now new steps generated as a result of the interaction process To run the application click the Run button [!] in the toolbar (or Press CTRL+R) 17. Fig. 28