Cant find button and combobox
Posted: Tue Dec 28, 2021 9:32 am
Hi,
I would like to ask some help with my test suites.
When I make test suites after I finsihed it, I run it 5-10 times, to make sure it's working perfectly.
After one day or when I rerun the programs, the Ranorex starts 'not find some elements' f.e. buttons and combobox.
Could you help me please? What is my mistakes?
Ranorex version: 10.1.3
Combobox:
Image not found in element {ComboBox:scbSajatAdatNev}.
Show/Hide Stacktrace
at Ranorex.Imaging.FindSingle(Element element, Bitmap feature, FindOptions options)at Ranorex.Location.GetElementLocation(Element element, Boolean relative)at Ranorex.Adapter.IsClickOutOfBounds(Location location)at Ranorex.Adapter.Click(MouseButtons buttons, Location location, Int32 times, Duration moveTime, Boolean showOutOfBoundsWarning)at Ranorex.Adapter.Click(Location location)at Keszlet.fml_Keszletigazolas_paramter.Ranorex.Core.Testing.ITestModule.Run() in C:\sERPaGUITest\Keszlet\Keszlet\Keszlet\fml_Keszletigazolas_paramter.cs:line 99at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
The combobox still there: Button:
Image not found in element {Button:Lejárati idő ajánlás}.
Show/Hide Stacktrace
at Ranorex.Imaging.FindSingle(Element element, Bitmap feature, FindOptions options)at Ranorex.Location.GetElementLocation(Element element, Boolean relative)at Ranorex.Adapter.IsClickOutOfBounds(Location location)at Ranorex.Adapter.Click(MouseButtons buttons, Location location, Int32 times, Duration moveTime, Boolean showOutOfBoundsWarning)at Ranorex.Adapter.Click(Location location)at Keszlet.close_Lejarati_ido_ajanlas_parameter_func.Ranorex.Core.Testing.ITestModule.Run() in C:\sERPaGUITest\Keszlet\Keszlet\Keszlet\close_Lejarati_ido_ajanlas_parameter_func.cs:line 83at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
The button still there:
Thank you in advance!
I would like to ask some help with my test suites.
When I make test suites after I finsihed it, I run it 5-10 times, to make sure it's working perfectly.
After one day or when I rerun the programs, the Ranorex starts 'not find some elements' f.e. buttons and combobox.
Could you help me please? What is my mistakes?
Ranorex version: 10.1.3
Combobox:
Image not found in element {ComboBox:scbSajatAdatNev}.
Show/Hide Stacktrace
at Ranorex.Imaging.FindSingle(Element element, Bitmap feature, FindOptions options)at Ranorex.Location.GetElementLocation(Element element, Boolean relative)at Ranorex.Adapter.IsClickOutOfBounds(Location location)at Ranorex.Adapter.Click(MouseButtons buttons, Location location, Int32 times, Duration moveTime, Boolean showOutOfBoundsWarning)at Ranorex.Adapter.Click(Location location)at Keszlet.fml_Keszletigazolas_paramter.Ranorex.Core.Testing.ITestModule.Run() in C:\sERPaGUITest\Keszlet\Keszlet\Keszlet\fml_Keszletigazolas_paramter.cs:line 99at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
The combobox still there: Button:
Image not found in element {Button:Lejárati idő ajánlás}.
Show/Hide Stacktrace
at Ranorex.Imaging.FindSingle(Element element, Bitmap feature, FindOptions options)at Ranorex.Location.GetElementLocation(Element element, Boolean relative)at Ranorex.Adapter.IsClickOutOfBounds(Location location)at Ranorex.Adapter.Click(MouseButtons buttons, Location location, Int32 times, Duration moveTime, Boolean showOutOfBoundsWarning)at Ranorex.Adapter.Click(Location location)at Keszlet.close_Lejarati_ido_ajanlas_parameter_func.Ranorex.Core.Testing.ITestModule.Run() in C:\sERPaGUITest\Keszlet\Keszlet\Keszlet\close_Lejarati_ido_ajanlas_parameter_func.cs:line 83at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
The button still there:
Thank you in advance!