FlaUI icon indicating copy to clipboard operation
FlaUI copied to clipboard

Using FlaUI to test DevExpress

Open renatoramossilva opened this issue 7 years ago • 6 comments

Dear All,

I wanna create a automatized test solution for a DevExpress Desktop Application. I already tried use robotframework + whitelibrary but the App doesnt provide the infrmations necessary to automatize the process because I cant to catch info like automationID mainly.

I read that with FlaUI I can to test devExpress Apps, but I dont know how I can use the elements that doenst have any usual locators.

To identify the locators I used some tools like Inspect, UIVerify and FlaInspect.

Can anyone help with this issue? I have this DevExpress App that has many elements that doenst have any usual properties to identify it.

Is FlaUI the best way to test DevExpress Apps?

renatoramossilva avatar Aug 30 '19 16:08 renatoramossilva

Hi Renato! Can you provide me a sample?

marcelo-maciel avatar Aug 30 '19 17:08 marcelo-maciel

My question is, I am trying to test a DevExpress App using robotframework + whitelibrary, but when I try to catch the element properties using Inspect, UIAVerify or FlaUI I cant see the elements properties (AutomationId, ClassName, HelpText) for some elements.

My doubt is, what the difference between whitelabrary, AutoItlibrary or any test tool for desktop application to FlaUI? What properties FlaUI uses that is better than others libraries?

renatoramossilva avatar Aug 30 '19 17:08 renatoramossilva

All mentioned libraries are based on UIA (Microsoft UI Automation). FlaUI has clearer architecture than White (and is still supported in opposition to White)

pm90pl avatar Oct 02 '19 05:10 pm90pl

Did you check https://github.com/Roemer/FlaUI/wiki/Common-Issues ? There is a flag in DevExpress (ClearAutomationEventsHelper.IsEnabled = false;) that enables automation support in DevExpress controls. Did you enable that?

Roemer avatar Oct 02 '19 05:10 Roemer

Closing this due to inactivity. The enabling of the mentioned flag should fix almost all DevExpress control issues.

Roemer avatar Oct 31 '19 13:10 Roemer

@Roemer I have been chasing you lately. I need to test my DevExpress Grid by reading row(s) and editing the respective columns by entering values. I don't find any samples for that. Creating a new issue so that it can be monitored

apoorv0012 avatar Jan 25 '20 21:01 apoorv0012