performance issue with identifying objects : General Questions

performance issue with identifying objects

Ask general questions here.

performance issue with identifying objects

Postby rkarhe » Fri Sep 16, 2011 2:40 pm

Hi,

We are facing performance issues with ranorex w.r.t object identification.
E.g. On the login screen we have text box for username and passowrd.
So if we want to test the login case for 10 different users, we call the login method in a loop to iterate 10 times.
So for the first iteration we see that the login fields i.e username and passowrd fields are identified say in 2 secs, but for the next iteration it may take 8 secs or more. So we would like to know when we call the same method everytime, why should it degrade the performance.

We are using dom for object identification .

We also tried using form for object identification initially but then it was very slow, so we switched to dom.
rkarhe
 
Posts: 33
Joined: Thu Jul 28, 2011 6:31 am

Re: performance issue with identifying objects

Postby Support Team » Mon Sep 19, 2011 12:08 pm

Hi,

using the browsers form object as root of your identification also leads you to the same dom object as directly using the dom object but with a much complexer RanoreXPath.
Basically the search times should not vary from call to call.
Maybe you RanoreXPath is to general, which leads to a longer search time as there are many factors which play a role when using a to general RanoreXPath.
If so, try to make your RanoreXPath less general.

Kind regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron