Hi
First of all, I need to indicate that I am using Ranorex with a c# based solution. I am not using a repository. I identify the objects at run time and am using the ranorex api.
The problem that I am facing is that the replay, especially when selecting from a dynamically created (via javascript) drop down list is slow, even when 1 or 2 items exist in the list. The control is on a web page.
How can I speed up the list?
I have already put the following code in the contsructor:
Ranorex.Mouse.DefaultMoveTime = 30;
Ranorex.Keyboard.DefaultKeyPressTime = 1;
Ranorex.Delay.SpeedFactor = 1.0;
Here is what I try to do. The list appears as a table on the web page:
1.
I select the drop down list, a javascript builds a dynamic list:
/dom[@domain='somewebsite.com']//table[#'DivTable']//..//textarea[#'arid_WIN_0_710000362']
2.
I select the frame containing the list:
/dom[@domain='somewebsite.com']//../body/div[3]
3.
then I select the item in the list (1 of 2)
/dom[@domain='somewebsite.com']//../body/div[3]/div[2]/table/tbody/tr[2]/td[@innertext='Password Reset']
I had to put in step 2, because when I replayed back my script, it built the dynamic list but didn't reach step 3. Now it does however, its slow.
Slow replay when replaying automation scripts
Re: Slow replay when replaying automation scripts
Can you post the actual C# code you are using? Without that, there is really no way to know what the problem is.
Shortcuts usually aren't...
Re: Slow replay when replaying automation scripts
Hi,
Did you try to run the script without the attached deugger? THis made our scripts run way more faster.
Regards, Zoltan
Did you try to run the script without the attached deugger? THis made our scripts run way more faster.
Regards, Zoltan