How to set AutomationId
-
Hello,
I am new to Qt and tasked with automating the testing of a Qt application and have selected TestStack.White, however the Qt app has no value in the AutomationId.
the developers have figured out how to set a value in Name field... but are not seeing a means of putting a value in the AutomationId field.
searching for AutomationId on the Qt site, on the wiki, and on the forums turns up ZERO hits, how is it no one has asked this question before?
please realize "because you're an idiot" is most frequently the answer to my stupid questions.
-
Hi and welcome to devnet,
Unless I'm mistaken, the AutomationId would need native windows to work which Qt does not use unless explicitly asked to.
You should maybe take a look at froglogic's squish
-
I have a conversation going with Squish sales people in asking the price.
- didn't want to spend money unless absolutely no possible concievable option exists
- TestStack.White is the preferred option the test team
How does one explicitly ask Qt to do something?
-
Take a look at winId and windowHandle
You also have the Qt Test Module that you can use.