Edit in spy taking 90 seconds or more to complete

Ask general questions here.
Lazar
Posts: 1
Joined: Fri Oct 21, 2022 1:00 pm

Edit in spy taking 90 seconds or more to complete

Post by Lazar » Mon Mar 13, 2023 7:18 pm

All, first post for me.

I've got an issue that I can't figure out. I'll click on the Edit in Spy link in the recorder and it will take anywhere from 30 seconds to 2 minutes for it to complete. This just started to happen last week. The previous times I used Edit in Spy it wouldn't take more than 30 seconds to complete. After recording a test step the path that is displayed is ?/?/div. So at that point I have to stop with anymore test steps, go into Edit in Spy, click the link, wait up to 2 minutes for it to complete THEN I can click on Track and click on the item I'm testing and FINALLY get the right path to it and proceed. The issue is I have to do this process for EACH TEST STEP! This has the side-affect of making my test creation take 10-15 times longer than it was taking the first time I was doing this.

TomekM
Posts: 5
Joined: Fri Jun 16, 2023 7:56 am

Re: Edit in spy taking 90 seconds or more to complete

Post by TomekM » Mon Jun 19, 2023 7:47 am

Hi,
same for me. I'm using Ranorex Studio 10.7.0 32bit.
And standalone Ranorex Spy 10 (64bit).

It takes up to 2 minutes for Ranorex Spy to process any rxpath on web page. The element is found pretty quick like in 1,5s, but then there's a message like "Building results three". This operation takes up to 2 min every time and it makes me dying inside waiting and looking on frozen Spy interface. Then eventually it shows the path.

Building the whole solution takes about 3 sec on my machine. 16 CPU cores, 32GB RAM. Execution of compiled script goes well in terms of speed.
BUT investigating rxpaths with Spy is a hassle..

I was trying to give "Real time" priority to both Spy and Ranorex add-on in Chrome and Edge in Process Explorer. No visible change.

Regards,
Tomek

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: Edit in spy taking 90 seconds or more to complete

Post by IvanF » Mon Jun 19, 2023 7:28 pm

Hi, not sure if you've tried these troubleshooting steps already:

- Make sure that there aren't any other open applications running aside from Ranorex Studio and the application you are testing.
- Use the Whitelist if the above isn't possible
- Check the Task Manager to see if the machine is low on resources (RAM is above 80%, CPU utilization is unusually high, etc.)


Lazar, does this same behavior occur using the standalone Spy Tool?

Tomek, have you tried matching versions (either both 32-bit or both 64-bit)?

If the troubleshooting didn't help, this would be great to report to the support team.

TomekM
Posts: 5
Joined: Fri Jun 16, 2023 7:56 am

Re: Edit in spy taking 90 seconds or more to complete

Post by TomekM » Tue Jun 20, 2023 9:37 am

I switched to Spy (32bit) running in Administrator mode.
On White List there's only Edge.
Also only Edge is instrumented to use Ranorex web add-on.
I'm using Ranorex web add-on ver. 1.4.0
No change.

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: Edit in spy taking 90 seconds or more to complete

Post by IvanF » Tue Jun 20, 2023 1:17 pm

I see, looks like a direct ticket could be a better bet then - https://www.ranorex.com/support-query/

TomekM
Posts: 5
Joined: Fri Jun 16, 2023 7:56 am

Re: Edit in spy taking 90 seconds or more to complete

Post by TomekM » Wed Jun 21, 2023 12:41 pm

I found solution - at least works for me.
That was my monitor DPI settings problem.

To resolve:
- Right click on desktop, and select "Display Settings".
- Find "Scale and Layout" section.
- Change the size of text, apps.. to "100%"
That's it.

In my case I had the value set to 125%.
I hope this will help somebody :)