I am new here and have an issue concerning Usercode in Ranorex.
I recorded a Key Sequence in ranorex which gets its data from a datasource. It is a variable with the string: "gct233\administrator". This String is then entered into a login field in Firefox.
Is it possible to convert this Key Sequence somehow, so that the string is directly entered into the field i want to have it in. If the method Key Sequence is used, there is always some "delay" for entering every single char.
I would like to have the whole string entered at once...
Here is the Usercode Ranroex generated:
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Text.RegularExpressions
Imports System.Drawing
Imports System.Threading
Imports System.Windows.Forms
Imports Ranorex
Imports Ranorex.Core
Imports Ranorex.Core.Testing
Namespace GUI_Admin
Public Partial Class Recording1
''' <summary>
''' This method gets called right after the recording has been started.
''' It can be used to execute recording specific initialization code.
''' </summary>
Private Sub Init()
' Your recording specific initialization code goes here.
End Sub
Public Sub Key_Sequence_TextBenutzername_1()
' Your code goes here. Code inside this method will not be changed by the code generator.
Report.Log(ReportLevel.Info, "Keyboard", "Key sequence 'gct233{LControlKey down}{RMenu down}{OemOpenBrackets}{LControlKey up}{LControlKey up}{RMenu up}{LControlKey up}administrator' with focus on 'TextBenutzername_'.", repo.TextBenutzername_Info, new RecordItemIndex(-1))
repo.TextBenutzername_.PressKeys("gct233{LControlKey down}{RMenu down}{OemOpenBrackets}{LControlKey up}{LControlKey up}{RMenu up}{LControlKey up}administrator")
End Sub
End Class
End NamespaceI hope you can understand what I mean...