ASP.py Grand Unified Test

System Time: 2/15/2026 5:09:48 PM

1. Server & Request Objects

Server.MapPath("."): C:\asp.py\tests

ScriptTimeout: 90

HTML Encoding: <b>Bold</b> & 'Quotes'

URL Encoding: user%3Dtest%26value%3D100%25

Request.QueryString("id"): None (Add ?id=123 to URL)

2. Session & Application Scope

SessionID: 259134033

Session("Counter"): 1 (Refresh to increment)

Application("AppStatus"): Running

3. Logic & Control Structures

For Loop (Step 2): 1 3 5 7 9
While Loop: 3 2 1
Select Case: Wednesday (Correct)

4. Type Conversions

FunctionInputResultNote
CInt10.510Rounds to even (10.5 -> 10 or 11)
CLng100000100000Long Integer
CCur123.45678123.4568Currency (4 decimals)
CBool"True"TrueString -> Bool
CBool0False0 -> False
CDate"2023-12-25"12/25/2023ISO String
CStr123'123'String

5. Validation & Keywords

TestResultExpected
IsNumeric("123.45")TrueTrue
IsDate(#2/14/2026#)TrueTrue
IsNull(Null)TrueTrue
IsEmpty(Empty)TrueTrue
IsObject(Session)TrueTrue

6. Date & Time Functions

Now: 2/15/2026 5:09:48 PM

Date Literal #12/31/2025#: 12/31/2025

FormatDateTime(Now, 1)Sunday, February 15, 2026
FormatDateTime(Now, 2)2/15/2026
FormatDateTime(Now, 3)5:09:48 PM
FormatDateTime(Now, 4)17:09
MonthName(2, True)Feb
WeekdayName(2)Monday

Components: Y: 2026 | M: 2 | D: 15 | H: 17 | M: 9 | S: 48

7. Scripting.Dictionary Object

Count after adding 3 items: 3

Key1 Exists: YES. Value: ValueOne

Count after removing Key2: 2

Count after RemoveAll: 0

8. Form Interaction