Borland Software Water System silk perforator java explorer 2006 release 2 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Manuais de software Borland Software Water System silk perforator java explorer 2006 release 2. Borland Software Water System silk perforator java explorer 2006 release 2 User's Manual [en] Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 110
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - Java Explorer

SilkPerformer®Java Explorer2006 Release 2User Guide

Página 2

6 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Applications for SilkPerformer SOA Editionexisting clients, or by importing JUnit test fram

Página 3 - ContentsContents

96 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSProject SettingsNote The Runtime classpath is stored in both JExlorer.conf a

Página 4

SilkPerformer Java Explorer User Guide 977Chapter 7 Exporting ProjectsWhat you will learn This chapter contains the following sections:OverviewOnce y

Página 5 - Introduction

98 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSSilkPerformer Java Projects2 Specify a name and destination for the exported file, as in

Página 6 - NTRODUCTION

SilkPerformer Java Explorer User Guide 997 EXPORTING PROJECTSJUnit Test CasesJava Profile Settings will be saved in the SilkPerformer project file, s

Página 7 - SilkPerformer .NET Explorer

100 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSJUnit Test Cases4 The Open TestSuite in JUnit checkbox enables you to start the JUnit t

Página 8 - SilkPerformer Java Explorer

SilkPerformer Java Explorer User Guide 1017 EXPORTING PROJECTSStandalone Console ApplicationsTest case execution sequenceNote that there are differen

Página 9 - SilkPerformer Workbench

102 SilkPerformer Java Explorer User Guide7 EXPORTING PROJECTSStandalone Console Applications2 Specify a File name and destination Directory for the

Página 10 - .NET Message Sample

SilkPerformer Java Explorer User Guide 103Symbols.NET.NET 2003 4.NET Explorer 3.NET Message sample 6.NET Remoting 2, 6, 9Test drivers 2AAdd-In for Vis

Página 11 - .NET Explorer Remoting Sample

104 SilkPerformer Java Explorer User GuideProcesses 86Setting up projects 15Java Framework 12, 98Java Naming Service (JNDI) 49Java Remote Method Proto

Página 12 - Java RMI Samples

SilkPerformer Java Explorer User Guide 105TTest cases 21, 74Details & summaries 78Global 29Local 29Main test cases 23New 21Understanding test case

Página 13 - Sample Test Projects

SilkPerformer Java Explorer User Guide 7INTRODUCTIONSample Applications for SilkPerformer SOA Edition• Web Services• ASP.NET applications communicatin

Página 14 - Java Sample Projects

106 SilkPerformer Java Explorer User Guide

Página 15 - Java Framework Testing

8 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Applications for SilkPerformer SOA EditionJava RMI SamplesFour Java RMI sample applications

Página 16

SilkPerformer Java Explorer User Guide 9INTRODUCTIONSample Test ProjectsRMI Testing with RMI over IIOP A simple example server can be found at: <Si

Página 17 - Testing Java Components

10 SilkPerformer Java Explorer User GuideINTRODUCTIONSample Test ProjectsJava Sample ProjectsJDBC This sample project implements a simple JDBC client

Página 18

SilkPerformer Java Explorer User Guide 111Chapter 1 Java Framework Testing with SilkPerformerWhat you will learn This chapter contains the following

Página 19 - Projects

12 SilkPerformer Java Explorer User Guide1 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java ComponentsThe Java Framework enables users to run st

Página 20 - Creating a New Project

SilkPerformer Java Explorer User Guide 131 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java Componentsthey are decoded and presented to the user

Página 21

14 SilkPerformer Java Explorer User Guide1 JAVA FRAMEWORK TESTING WITH SILKPERFORMERTesting Java Components

Página 22 - Defining a Test

SilkPerformer Java Explorer User Guide 152Chapter 2 Setting Up Java Explorer ProjectsWhat you will learn This chapter contains the following sections

Página 23 - UP JAVA EXPLORER PROJECTS

Borland Software Corporation20450 Stevens Creek Blvd., Suite 800Cupertino, California 95014 USAhttp://www.borland.comBorland Software Corporation may

Página 24

16 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSCreating a New ProjectCreating a New ProjectUpon opening Java Explorer yo

Página 25

SilkPerformer Java Explorer User Guide 172 SETTING UP JAVA EXPLORER PROJECTSCreating a New ProjectOverview of the interfaceThe Java Explorer interfac

Página 26

18 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a TestThe Output Data Properties field shows the properties of t

Página 27 - Understanding Test Cases

SilkPerformer Java Explorer User Guide 192 SETTING UP JAVA EXPLORER PROJECTSDefining a TestNote When testing EJBs a dialog prompts you for EJB-speci

Página 28

20 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a Test7 If required, you can change Web Service proxy and authen

Página 29 - Setting Up Tests

SilkPerformer Java Explorer User Guide 212 SETTING UP JAVA EXPLORER PROJECTSDefining a TestNote Login and logout methods must be in first and last p

Página 30 - Design View

22 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSDefining a Test14 Click Next.Note If you’ve selected a method that takes

Página 31 - Loaded Components Window

SilkPerformer Java Explorer User Guide 232 SETTING UP JAVA EXPLORER PROJECTSUnderstanding Test CasesThe invoked method calls (service1.echoString and

Página 32 - Objects Tab

24 SilkPerformer Java Explorer User Guide2 SETTING UP JAVA EXPLORER PROJECTSUnderstanding Test CasesNames of test cases are restricted. As they are m

Página 33 - UP TESTS

SilkPerformer Java Explorer User Guide 253Chapter 3 Setting Up TestsWhat you will learn This chapter contains the following sections:Section PageOver

Página 34 - Code View

SilkPerformer Java Explorer User Guide iiiContentsContentsIntroduction 1How to Use this Guide . . . . . . . . . . . . . . 1SilkPerforme

Página 35 - Output View

26 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSOverviewOverviewThis chapter explains how to set up and customize your tests in Java Explo

Página 36 - ETTING UP TESTS

SilkPerformer Java Explorer User Guide 273 SETTING UP TESTSDesign ViewLoaded Components WindowThe Loaded Components window, accessible via Design vie

Página 37 - Customizing Input Parameters

28 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDesign ViewWeb Services are treated as if they only have static methods.The following fold

Página 38

SilkPerformer Java Explorer User Guide 293 SETTING UP TESTSDesign ViewObjects view shows objects stored in variables that have global scope and those

Página 39

30 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSCode ViewVariablesDepending on variable type—either simple value type or complex object—va

Página 40

SilkPerformer Java Explorer User Guide 313 SETTING UP TESTSOutput ViewJUnit code viewThis view displays the JUnit test script code. This code can be

Página 41

32 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSOutput ViewAnimation LogAnimation Log view displays detailed information about test durati

Página 42

SilkPerformer Java Explorer User Guide 333 SETTING UP TESTSCustomizing Input ParametersNote Output view can also be accessed via the Results button

Página 43

34 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSStoring Output Values in Variables- If you don’t wish to use a constant value and would ra

Página 44 - Complex Input/Output Data

SilkPerformer Java Explorer User Guide 353 SETTING UP TESTSManually Adding Global VariablesNote The Output Value Wizard can also be launched by clic

Página 45

iv SilkPerformer Java Explorer User Guide

Página 46 - Array Input Data

36 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDefining Output Value VerificationsGlobal variables can be used as input parameters for fu

Página 47

SilkPerformer Java Explorer User Guide 373 SETTING UP TESTSDefining Output Value VerificationsNote See “Verification with NULL or variable” for deta

Página 48

38 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSDefining Output Value Verifications4 Click OK.Verification with NULL or variableThe Verifi

Página 49 - Random Variable Wizard

SilkPerformer Java Explorer User Guide 393 SETTING UP TESTSDefining Output Value Verificationsjava.lang.String; so variables that represent a string

Página 50

40 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSAdding & Updating Method CallsAdding & Updating Method CallsProcedure To add a me

Página 51

SilkPerformer Java Explorer User Guide 413 SETTING UP TESTSComplex Input/Output Data3 Specify the variable’s name and scope as described in “Storing

Página 52

42 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSComplex Input/Output Data3 For example, you can specify that a variable be used as input.A

Página 53 - Working with EJBs

SilkPerformer Java Explorer User Guide 433 SETTING UP TESTSComplex Input/Output DataJava Explorer then automatically adds or removes the required ele

Página 54

44 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSComplex Input/Output Data6 Click OK.Using complex input data exampleFollowing is an exampl

Página 55

SilkPerformer Java Explorer User Guide 453 SETTING UP TESTSRandom Variable Wizard3 Define the array elements by calling the method setString on the o

Página 56

SilkPerformer Java Explorer User Guide 1IntroductionAbout this chapter This introduction serves as a high-level overview of the different test approac

Página 57 - Vendor-specific JNDI Settings

46 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSRandom Variable WizardAlternative Alternately, if you’ve already configured a random vari

Página 58

SilkPerformer Java Explorer User Guide 473 SETTING UP TESTSRandom Variable WizardChoose the variable type you wish to use as random variable from the

Página 59

48 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSRandom Variable WizardFor each string value you must define a weighted number that indicat

Página 60

SilkPerformer Java Explorer User Guide 493 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPEnterprise JavaBeans & RMI Over IIOPWhen testi

Página 61

50 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPNote Protocol, host, and port comprise the naming

Página 62

SilkPerformer Java Explorer User Guide 513 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP9 Click OK.10 Back on the EJB Wizard, click Next t

Página 63

52 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP12 Click Finish to browse for the methods of the r

Página 64

SilkPerformer Java Explorer User Guide 533 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPb Invoke one or more methods on the EJB object.Ven

Página 65

54 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClient Classpath: Enter all jar files and classpa

Página 66 - Working with RMI Over IIOP

SilkPerformer Java Explorer User Guide 553 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface and click Finish. Confir

Página 67

2 SilkPerformer Java Explorer User GuideINTRODUCTIONSilkPerformer SOA Edition OverviewSilkPerformer SOA Edition license is required to enable access t

Página 68 - Testing RMI

56 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPInformation on how to call methods, define test ca

Página 69

SilkPerformer Java Explorer User Guide 573 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOP- tx.jar - utils.jar - ejbportable.jar - The Prop

Página 70

58 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface that allows for the crea

Página 71 - Testing Java Archives

SilkPerformer Java Explorer User Guide 593 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClick Finish and give a variable name to the EJB r

Página 72 - Testing Secure Web Services

60 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClient Classpath: Enter all jar files and classpa

Página 73

SilkPerformer Java Explorer User Guide 613 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPSelect the home interface and click Finish. Confir

Página 74

62 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPClick Finish and provide a good variable name for

Página 75 - Negative Testing

SilkPerformer Java Explorer User Guide 633 SETTING UP TESTSEnterprise JavaBeans & RMI Over IIOPProcedure To test SilkPerformer’s RMI sample:1 La

Página 76

64 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting RMIThe getProductsByName method requires a string as parameter. ’*’ is used as a w

Página 77 - Animation Runs

SilkPerformer Java Explorer User Guide 653 SETTING UP TESTSTesting RMI4 Click Next.5 The next dialog asks for the RMI registry settings and a classpa

Página 78 - Animated Runs

SilkPerformer Java Explorer User Guide 3INTRODUCTIONTools Provided by SilkPerformer SOA EditionTools Provided by SilkPerformer SOA EditionSilkPerforme

Página 79 - NIMATION RUNS

66 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting RMIClick Next to see a tree of all registered remote objects in the RMI registry.

Página 80 - Ignoring Expected Exceptions

SilkPerformer Java Explorer User Guide 673 SETTING UP TESTSTesting Java ArchivesTesting Java ArchivesJava archives normally contain many classes that

Página 81 - Analyzing Tests

68 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting Secure Web ServicesClick Next to create the instance and browse the created object

Página 82 - User Report

SilkPerformer Java Explorer User Guide 693 SETTING UP TESTSTesting Secure Web Servicesway of downloading server certificates is to export them from y

Página 83

70 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSTesting Secure Web ServicesWorking with Secure Web Service CallsUsing Apache Axis 1.2.1You

Página 84

SilkPerformer Java Explorer User Guide 713 SETTING UP TESTSNegative TestingWeb Service Emitter TimeoutWhen generating Web service stub code for large

Página 85 - Animation Log

72 SilkPerformer Java Explorer User Guide3 SETTING UP TESTSNegative Testing

Página 86 - Exploring Object Properties

SilkPerformer Java Explorer User Guide 734Chapter 4 Animation RunsWhat you will learn This chapter contains the following sections:OverviewAnimated r

Página 87 - Exploring Method Properties

74 SilkPerformer Java Explorer User Guide4 ANIMATION RUNSAnimated Runs• Always run End Test Case • Run all Test Cases during Animated Run • Invoke De

Página 88 - • Modifiers

SilkPerformer Java Explorer User Guide 754 ANIMATION RUNSAnimated Runsdefault (1), test cases will be executed the number of times defined in this pr

Página 89 - System & Project Settings

4 SilkPerformer Java Explorer User GuideINTRODUCTIONTools Provided by SilkPerformer SOA EditionAlternately you can launch SilkPerformer Workbench:If y

Página 90 - System Settings

76 SilkPerformer Java Explorer User Guide4 ANIMATION RUNSIgnoring Expected Exceptionsdescription of the failure in a ToolTip by moving your mouse ove

Página 91 - YSTEM & PROJECT SETTINGS

SilkPerformer Java Explorer User Guide 775Chapter 5 Analyzing TestsWhat you will learn This chapter contains the following sections:OverviewOnce you

Página 92 - Default Value Settings

78 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSUser Report3 Select the button that corresponds to the result file type you wish to generat

Página 93 - Animated Run Settings

SilkPerformer Java Explorer User Guide 795 ANALYZING TESTSUser ReportThe Test Method Summary table offers information about each test method that has

Página 94

80 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSUser ReportThe Errors table gives you information about each error that occurs during the t

Página 95 - Connection Settings

SilkPerformer Java Explorer User Guide 815 ANALYZING TESTSAnimation LogError ReportThe Error Report delivers an overview of all errors that occur dur

Página 96 - JUnit Settings

82 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSExploring Object Propertiesalso included. When exceptions are encountered, the Animation Lo

Página 97 - & PROJECT SETTINGS

SilkPerformer Java Explorer User Guide 835 ANALYZING TESTSExploring Method Properties• Click the Base Types button to display the parent classes of t

Página 98 - Project Settings

84 SilkPerformer Java Explorer User Guide5 ANALYZING TESTSExploring Method Properties• Modifiers

Página 99 - Classpath Settings

SilkPerformer Java Explorer User Guide 856Chapter 6 System & Project SettingsWhat you will learn This chapter contains the following sections:Ove

Página 100 - Scripting Settings

SilkPerformer Java Explorer User Guide 5INTRODUCTIONTools Provided by SilkPerformer SOA Editionhttp://www-106.ibm.com/developerworks/java/SilkPerforme

Página 101 - Exporting Projects

86 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSJava Explorer ProcessesJava Explorer ProcessesWhen Java Explorer is launched,

Página 102 - SilkPerformer Java Projects

SilkPerformer Java Explorer User Guide 876 SYSTEM & PROJECT SETTINGSSystem SettingsC:\j2sdk1.4.2_04. Click OK. This special JDK version can now b

Página 103 - JUnit Test Cases

88 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsDefault Value SettingsThe Default Values options tab enables y

Página 104 - PROJECTS

SilkPerformer Java Explorer User Guide 896 SYSTEM & PROJECT SETTINGSSystem SettingsVerification SettingsThese options define the behavior of veri

Página 105 - XPORTING PROJECTS

90 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsInvoke delayDefines the delay between the invocation of method

Página 106

SilkPerformer Java Explorer User Guide 916 SYSTEM & PROJECT SETTINGSSystem Settings4 Click Yes on the confirmation dialog to delete the file ent

Página 107

92 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSSystem SettingsWhen a WSDL file is loaded, the Web Service class inherits the

Página 108

SilkPerformer Java Explorer User Guide 936 SYSTEM & PROJECT SETTINGSSystem Settingscombo box. The classpath panel enables you to specify the clas

Página 109

94 SilkPerformer Java Explorer User Guide6 SYSTEM & PROJECT SETTINGSProject SettingsSilkPerformer SettingsThe SilkPerformer Home Directory and Si

Página 110

SilkPerformer Java Explorer User Guide 956 SYSTEM & PROJECT SETTINGSProject SettingsWeb Service Plug-In SettingsJava Explorer supports Axis versi

Comentários a estes Manuais

Sem comentários