Cannot find element at runtime
Posted: Fri Feb 04, 2011 12:12 pm
I have problem finding webElement in runtime. When I run my test, ranorex can find some elements at beginning of test such as: button, combobox, etc...
But when comes to some TdTag element in /dom it cannot find it.
When I search for this element using ranorex spy, or run some test using ranorex recorder element is normally found, but within code when tests are ran from Nunit this element cannot be found. I am using ranoex repository class to access element.
I also tried to copy RxPath from recorder into my code and still won't find element...
It throws following message:
Ranorex.ElementNotFoundException : Failed to find item 'RF_Report.TabView.PresentationView_Tab' within the specified timeout of 1m.
----> Ranorex.ElementNotFoundException : The folder 'RF_Report' was not found within the specified timeout of 1m.
The search time of one minute is more than enough, element should be found in 2-3 seconds.
Also I should say that this was working normally few days ago...
Regards,
Vajda Vladimir
But when comes to some TdTag element in /dom it cannot find it.
When I search for this element using ranorex spy, or run some test using ranorex recorder element is normally found, but within code when tests are ran from Nunit this element cannot be found. I am using ranoex repository class to access element.
I also tried to copy RxPath from recorder into my code and still won't find element...
It throws following message:
Ranorex.ElementNotFoundException : Failed to find item 'RF_Report.TabView.PresentationView_Tab' within the specified timeout of 1m.
----> Ranorex.ElementNotFoundException : The folder 'RF_Report' was not found within the specified timeout of 1m.
The search time of one minute is more than enough, element should be found in 2-3 seconds.
Also I should say that this was working normally few days ago...
Regards,
Vajda Vladimir