Different behaviour of FindSingle-Method
Posted: Fri Nov 18, 2016 2:30 pm
Hi
I search for listitems in a drop down. This is done by the following code.
My Applicatio is a WPF-Application and I use the WPF Legacy Mode UiaOnly.
Now, I have a problem where my Ranorex Studio does not find an element when I execute it by "Run the selected items..." menu in the recording module.
But if I run the TestCase by "Run Selected Test Case" in the Test Suite everything is working fine.
Is there a technically difference between execution of code inside Ranorex Studio and running the whole TestCase?
Thank you.
Andreas
I search for listitems in a drop down. This is done by the following code.
Code: Select all
repo.IsagClient.Self.FindSingle(string.Format("form/form/container/listitem/text[@name~'^{0}\\.']", ID_Teilanwendung), 10000);
Now, I have a problem where my Ranorex Studio does not find an element when I execute it by "Run the selected items..." menu in the recording module.
But if I run the TestCase by "Run Selected Test Case" in the Test Suite everything is working fine.
Is there a technically difference between execution of code inside Ranorex Studio and running the whole TestCase?
Thank you.
Andreas