Pre-fill UserName and Password while testing RBS


Author
Message
Edhy Rijo
E
StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Is there a way to pre-fill the UserName and Password while testing the RBS features instead of typing that info all the time?

Edhy Rijo

Replies
Edhy Rijo
E
StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Wonderful, thanks a lot to both of you, that is exactly what I needed for this project, but will play with your other suggestion like creating a test menu with several user loging for testing.

Here is my final code in AppMain.vb, for now Hehe

''' <summary>

''' Shows a login form before a main form is shown and allows security to be checked before the application

''' launches the main form (optional)

''' </summary>

''' <param name="e"></param>

''' <remarks></remarks>

Private Shared Sub ShowLoginAndInitMainForm(ByVal e As ShowLoginAndInitFormEventArgs)

     '-- Set the login form to your custom login form (optional)

     'Login.LoginFormType = GetType(MyLoginForm)

#If DEBUG Then

     ' Login.SetLoggedInUser("Administrator", "admin" & DateTime.Now.Day.ToString(), "")

     ' Login.SetLoggedInUser("Angel", "jefe", "")

     Login.SetLoggedInUser("Jeannette", "abc123", "")

#Else

     '-- Show the login form and authenticate the user

     e.ShowMainForm = Login.ShowLoginAndAuthUser(True)

#End If

End Sub



Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Cool! BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search