aaron
New Member
Posts: 2
|
Post by aaron on Apr 14, 2016 15:06:29 GMT
Hello,
Just getting started using SAFS and selenium+ but one thing I have noticed with our web testing is that the speed is incredibly slow. I would estimate 5-10 seconds between actions that are referenced in the appmap. I have disabled logging as much as I can but the speed is still slower than performing the steps manually. Any suggestions or is this a normal reaction when using SAFS and selenium+?
One thing to note, it appears that in the console, when playing a test, SAFS is running a full process container scan on each window, getting all the properties available before completing the actions. Selenium itself doesn't do this, is that normal and is there a way to turn it off?
|
|
|
Post by leiwang on Apr 18, 2016 3:42:39 GMT
>>but the speed is still slower than performing the steps manually. Maybe you mean it is slower than using selenium itself? SAFS/SE+ is a framework, there are many layers on top of the testing tool (here it is the selenium), it is normal that it is slower than the testing tool itself. For the exact time spent on each step, it also depends on the machine performance, with a more powerful CPU and more Memory, you could get a better performance. If you really mean it is slower than the manual testing, yes it will be. The testing tool also needs time to search the web-element and perform action.
>>One thing to note, it appears that in the console, when playing a test, SAFS is running a full process container scan on each window, getting all the properties available before completing the actions. Selenium itself doesn't do this, is that normal and is there a way to turn it off? I believe that it is normal, some selenium's API is not so reliable, like "click", and we will use the Java Robot to do the work instead, so we need the window's information especially the location and size. But maybe we could provide user a way to use the first window's information to get a better performance.
|
|
aaron
New Member
Posts: 2
|
Post by aaron on Apr 18, 2016 19:02:28 GMT
Thank you leiwang, I appreciate the response. We will have to delve deeper into our goals now though as sometimes when we run automated tests, they could be very large and long. Selenium will make quick work of the process due to its speed but it may cause concerns if SAFS will slow the process this much.
|
|
|
Post by leiwang on Apr 19, 2016 1:26:37 GMT
Just for curious, what you are using exactly, SAFS or SeleniumPlus? They are different. SAFS should be slower than SeleniumPlus.
|
|