Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB - Automatisierte Testfälle

Empfohlene Antworten

Hallo ihr lieben,

ich muss für ein Projekt das in VB.net geschrieben wurde automatisierte Testfälle generieren. Diese Automatiesierten Testfälle überprüfe ich dann über NUnit. Die Testfälle schreib i in C#.

Ich muss die zu prüfenden Funktionen aufrufen und die funktionalität prüfen.

So jetzt hab i aber leider ein problem. Ich kann kein VB..und verstehe das programmierte leider net. :(

Derjenige der das programmiert hat ist für diese woche weg und des soll am fr. fertig werden...könnte mir jemand evtl. helfen??

Ich werd einfach mal eine funktion posten...um es zu veranschaulichen.

Über diese methode soll die zu prüfende Methode aufgerufen werden aber ich weis ehrlich gesagt net wie i des machen soll...


Public ReadOnly Property UpdatePDFErstelltCommand() As OracleCommand

        Get

            Return sqlUpdatePDFErstellt

        End Get

    End Property

die zu prüfende Methode
 

Private Sub CreateUpdateSqlCommands()

        sqlUpdatePDFErstellt = New OracleCommand

        With sqlUpdatePDFErstellt

            .Connection = Connection

            .CommandText = String.Format("UPDATE {0}DGM_DOK_QUEUE SET PDF_ERSTELLT = 'T' WHERE DOKID = :DOKREF", schema)

            .Parameters.Add(":DOKREF", OracleType.Number, 16)

            .Prepare()

        End With


        sqlUpdateHEADERErstellt = New OracleCommand

        With sqlUpdateHEADERErstellt

            .Connection = Connection

            .CommandText = String.Format("UPDATE {0}DGM_DOK_QUEUE SET HEADER = 'T' WHERE DOKID = :DOKREF", schema)

            .Parameters.Add(":DOKREF", OracleType.Number, 16)

            .Prepare()

        End With

    End Sub

Also ich hoffe mir kann jemand helfen...falls ihr noch mehr informationen braucht einfach fragen...

Vielen dank schon mal im voraus... :)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.