March 15, 2020

Wed, Mar 18 | Augmenting Automated Tests | Live Webinar Invitation

Here is a webinar, Augmenting Automated Tests using Testim Actions. This webinar would be useful for beginners in test automation or automated testing. The presentation would show us how to take our recorded test and augment it with configurable actions, to convert it to a fully functional automated test case. 

Wednesday, March 18th (1-hour duration)
9 am PST/ 12 pm EST/ 4 pm UTC/ 9:30 pm IST
Note: If you register but cannot attend the live webinar due to any reason, you will be still able to see it's recording later.

Let me know if you have any questions. Thank you.



March 10, 2020

VBScript tutorial 4 | Select Case Statement

This is the fourth tutorial in the VBScript Tutorials for Beginners. This VBScript beginner tutorial explains VBScript conditional statement, the Select Case statement. Please view the short VBScript tutorial 4 or read on... The VBScript Select Case statement evaluates an expression. The Select Case statement is followed by Case code blocks. Depending on the value of the expression, exactly one case block is run. If the expression value is not given in any Case above, the Case Else code block is run. The example of a VBScript Select Case statement is as follows:

' VBScript code
Option Explicit
Call Main

Sub Main
    Dim stringA, stringB
    'the first string would be the first argument of the VBScript run from command line
    stringA = Wscript.Arguments.Item(0)
    ' the second string would be the second argument of the VBScript
    stringB = Wscript.Arguments.Item(1)
   ' compare strings in VBScript
    Select Case StrComp(stringA, stringB)
        'StrComp function returns 0 is both the strings are equal
        Case 0
            'MsgBox has three arguments (the message, the icon and the title)
            MsgBox "Both the strings are the same.", vbInformation, "Success"
        'StrComp function returns 1 if the first string is greater
        Case 1
            MsgBox stringA &" is greater than " & stringB, vbQuestion, "Warning"
        'StrComp function returns -1 if the first string is smaller
        Case -1
            MsgBox stringA & " is less than " & stringB, vbQuestion, "Warning"
        Case Else
            MsgBox "There is an error in string comparison.", vbCritical, "Error"
    End Select
End Sub

Since this script needs two arguments to run, we cannot just double-click this VBscript. That would give a subscript out of range error. Instead, we can open the command window (cmd command). Then, change directory (cd command) to the folder that has our script. Give the commands as the script name followed by arguments like the examples below:
  • StringCompare.vbs xyz xyz
  •  StringCompare.vbs abc a
  • StringCompare.vbs d def
Want to understand the VBScript Select Case statement and string comparison in VBScript better? Please view my VBScript tutorial 4. Thank you.

March 01, 2020

Tue, Mar 10 | ROI Test Automation | Live Webinar Invitation

Here is a session titled, Justifying and Realizing a Strong ROI (meaning Return On Investment) on Test Automation. This webinar would be useful for present or future Test Leads, QA Leads and QA Managers. This webinar would prepare us to make an appealing case for test automation (or any software investment) to our management. You may register for this webinar here.

The presentation would be made by Testim's Director of Product Marketing, Shawn Jacques. Just because you have budget allocated for a tool does not mean that it will be approved. How do you prove time or cost savings? In the case of test automation tools, how do you measure the benefits of higher quality? This presentation would cover various financial models and how to apply them, linking your test automation investment to your company's strategic initiatives, costs and benefits of test automation and the key metrics that should be measured.

Register today (only limited seats) at http://bit.ly/2v8a8k2
Tue, Mar 10, 2020 (1-hour duration)
9 am PST/ 12 pm EST/ 5 pm UTC/ 10:30 pm IST
Note: If you register but cannot attend the live event due to any reason, you will be still able to see it's recording later.

Let me know if you have any questions. Thank you.