What is the RepositoryEditor path?

Ranorex Studio, Spy, Recorder, and Driver.
TestBalloon
Posts: 15
Joined: Thu Mar 03, 2022 9:19 am

What is the RepositoryEditor path?

Post by TestBalloon » Mon Nov 07, 2022 10:42 am

Hello,

we are trying to remove a user in a login recording module, by replacing it with another user name.
However, after replacing, Ranorex search still shows some results for that user and it seems that inside the recording module xml file there exitst still a path which contains the older user.
The file LoginAsUser.rxrec contains something like

Code: Select all

		<mouseitem
		action="Click"
		button="Left"
		duration="300ms"
		enabled="True"
		loc="Center"
		movetime="300ms"
		optional="False"
		searchpropertyid="74f0b019-9011-4d33-99f2-32f5ba77ebe2"
		sx="510"
		sy="266"
		warnoutofbounds="False">
			<comment>
			</comment>
			<bindings>
			</bindings>
			<info
			id="72d7634a-2997-4c12-b02b-2108c7e1cfb6"
			sourcename="RepositoryEditor">
				<path>
					/form/container/text[@caption='User-Name-To-Remove']/..
				</path>
				<robustPath>
				</robustPath>
			</info>
		</mouseitem>
My question would be what is "RepositoryEditor" and the path below it? And what does this mean? In the repository the path is clearly changed and the generated code also doesn't contain this old path so what does it do and could we delete it without bad consequences? It doesn't seem to do anything so why is it there?

Thanks.

TestBalloon
Posts: 15
Joined: Thu Mar 03, 2022 9:19 am

Re: What is the RepositoryEditor path?

Post by TestBalloon » Mon Nov 07, 2022 11:07 am

Also,
there is another "leftover" in another recording module OpenXyz.rxrec which corrensponds to an action line looking like this:
example.png
The file contains some lines like this:

Code: Select all

	<userrecorditem
		classname="MyClassname"
		enabled="True"
		isexternaltestmethod="True"
		methodname="ifLoginPromptLoginAsUser"
		namespace="MyNamespace"
		optional="False">
			<comment>
			</comment>
			<bindings>
			</bindings>
			<arguments
			id="a57d665f-5ae2-4048-9b08-a0176dc9ef81">
				<argument
				argname="timeToWait"
				id="f460bcd6-4186-4d6d-aead-1bee9259a336">
					<argvaluetype>
						System.String
					</argvaluetype>
					<argvalue>
						30s
					</argvalue>
				</argument>
				<argument
				argname="userName"
				id="ea201587-ffc7-4385-b042-66e9a9220415"
				variable="user">
					<argvaluetype>
						System.String
					</argvaluetype>
					<argvalue>
						Some User Name
					</argvalue>
				</argument>
				<argument
				argname="password"
				id="28bdb836-05c6-4967-bbd0-99cbf3a3c9e8"
				variable="password">
					<argvaluetype>
						System.String
					</argvaluetype>
					<argvalue>
						Some password
					</argvalue>
				</argument>
			</arguments>
		</userrecorditem>
What does the xml content do and how can we delete it safely? Already we changed the default values of the "Variables.." dialog, so why is the old user and passwod still saved in the recording module? Also, the new password and user are used without any problems so I don't see any reason for this content to exist.

Thank you.
You do not have the required permissions to view the files attached to this post.