Hello,
Recently, our tested application is having NET Framework update. From previously, NET Framework 4.7.2 to NET6.
Please note that, the things that was upgraded was only the NET Framework. The UI itself, was not changed.
When I'm trying to run Ranorex on the upgraded application, I have found out that Ranorex is having a performance issue (slow to run).
Here's the time comparison:
I'm trying to run a test case to move element on CAD
Using Ranorex 10.2.4:
Before NET 6 applied the test was running in 1.6 minutes
After NET 6 applied the test was running in 3.1 minutes
The test run was approximately 2x slower.
Using Ranorex 9.3.1
Before NET 6 applied the test was running in 1.7 minutes
After NET 6 applied the test was running in 6.3 minutes
Using Ranorex 9 was even slower (approximately 3.5x slower)
I've found this topic also posting the same problem but it doesn't get any replies:
https://www.ranorex.info/viewtopic.php? ... et6#p71428
So, using Ranorex, are there any ways that I'm able to try, to test the NET6 application without getting performance hit?
If it's possible, I want the test to stay running at 1.7 minutes.
Performance Issue when Testing NET 6 application
Re: Performance Issue when Testing NET 6 application
hi Hc,
Could you zoom into the real problematic items in editdesignlayer (which goes from 20 to 50 seconds )?
Possibly you need adjust the repo items so regconition is faster with the new framework
regards,
Don
Could you zoom into the real problematic items in editdesignlayer (which goes from 20 to 50 seconds )?
Possibly you need adjust the repo items so regconition is faster with the new framework
regards,
Don
Re: Performance Issue when Testing NET 6 application
Hello Doke,
Here's the content of the EditDesignLayer recording:
Basically the recording will click Edit context menu of the corresponding Design File Layer.
photo uploader for forums
I have tried to set the RanorexXPath setting to Speed, and modify the corresponding Repository item XPath.
In the post-NET6 application, running the EditDesignLayer recording with Speed setting will get me 38 seconds, from previously modified XPath 44 seconds.
But, I still can't make the recording run faster like pre-NET6, which I can get 13 seconds.
Here's the time comparison:
Here's the content of the EditDesignLayer recording:
Basically the recording will click Edit context menu of the corresponding Design File Layer.
photo uploader for forums
I have tried to set the RanorexXPath setting to Speed, and modify the corresponding Repository item XPath.
In the post-NET6 application, running the EditDesignLayer recording with Speed setting will get me 38 seconds, from previously modified XPath 44 seconds.
But, I still can't make the recording run faster like pre-NET6, which I can get 13 seconds.
Here's the time comparison:
Re: Performance Issue when Testing NET 6 application
Hi,
1 Is there another way to do the edit action ( press E, if context menu is open) ?
2 how fast is the recognition of the context menu itself and does this differ from the edit item ?
3 it would help if you could show the repo path for the edit item of the context menu, and if possible the live spy result for the context edit item ?
Regards,
Don
1 Is there another way to do the edit action ( press E, if context menu is open) ?
2 how fast is the recognition of the context menu itself and does this differ from the edit item ?
3 it would help if you could show the repo path for the edit item of the context menu, and if possible the live spy result for the context edit item ?
Regards,
Don
Re: Performance Issue when Testing NET 6 application
Hi,
If recognition of the recorded elements in the live-spy is much faster as the recognition during runtime/test execution, I advice you to contact support.
Have look at the added solution, for some idea's about keeping your repo clean & lean.
If recognition of the recorded elements in the live-spy is much faster as the recognition during runtime/test execution, I advice you to contact support.
Have look at the added solution, for some idea's about keeping your repo clean & lean.
Re: Performance Issue when Testing NET 6 application
solution
You do not have the required permissions to view the files attached to this post.