Student Mode Code Display

Welcome to the Fraternity!

Commenting has been enabled. You can comment on all the Code Items now.

Function Driven FW with Global Data Table

Add This Code to My Favourite List
Enter Email

Contributed By admin
Date 2016-03-12 07:18:29

Tutorial: itprof_tut
'Example of Function Driven FW & KW Driven FW with Data Sheet Approach

'Reading values form Current Row
sFncName = DataTable.Value("FunctionName","Global")
sRunFlag = DataTable.Value("RunFlag","Global")
sArg1 = DataTable.Value("Arg1","Global")
sArg2 = DataTable.Value("Arg2","Global")
sArg3 = DataTable.Value("Arg3","Global")
sArg4 = DataTable.Value("Arg4","Global")
sArg5 = DataTable.Value("Arg5","Global")

'Checking if Run Flag is Set
If sRunFlag = "TRUE" Then
	Select Case sFncName
		Case "InvokeApp"
			Call InvokeApp(sArg1)
		Case "Login"
			Call Login(sArg1,sArg2)
		Case "NavigateToPage"
			Call NavigateToPage(sArg1)

	End Select
	Reporter.ReportEvent micDone,"KW Skipped", sFncName
End If

Download Above Code


Add your comments...
Name : *      
Email : *      
The content of this field will be kept private and will not be shown publicly

Your Comment/Answer *

Enter the text present in this box : *