OS = Windows 7 Service Pack 1 64bit
Chrome web application.
I have noticed that ReportItemInfo.CreateAdapter(throwException, waitTimeout) isn't working as described. After trying different values, it seems to add an extra 5 seconds to the given timeout. If an element does not exist, the method returns after the given timeout + 5 seconds.
Report.Info("Checking RepoItemInfo.Timeout"); Report.Info("Calling RepoItemInfo.CreateAdapter with timeout "+timeout.TotalMilliseconds); T adapter = info.CreateAdapter<T>(false, timeout); Report.Info("Finished create adapter call. ");The output in the Ranorex report, with timestamps, is this:
10:40:51 Info User Checking RepoItemInfo.Timeout
10:40:51 Info User Calling RepoItemInfo.CreateAdapter with timeout 500
10:40:57 Info User Finished create adapter call.
After trying different values, it seems to add an extra 5 seconds to the given timeout.
e.g. if I pass in 30 seconds timeout, the call returns after 35 seconds.
if I pass in 500 milliseconds, the call returns after 5.5 seconds.
Is this a known limitation of CreateAdapter?