How automate UI string test?
Posted: Mon Dec 01, 2014 2:12 pm
HI,
little bit lost here, how to do this. I need to check that all new added features/strings/text/notifications... added to SUT can be found from SUT & Excel list.
I can switch on "test language", which adds to all strings "_T" before the string.
e.g File > Exit changes to _T File > _T Exit
I have a list of all strings (excel)
String------------english-----------testlanguage
FILEMENU********File**************_T File
So if e.g. in File menu will have a new item e.g "Sell", it will be found like _T Sell when I have set the "test language" on.
What would be the best way to go through the SUT and verify that all items has this _T ?
If I run my test (make with english UI language), can I e.g. somehow verify the string list same time and maybe same time automatically add some mark in the list which items has been verified? Or am I really thinking very wrong here and should make it work some other way?
Hopefully someone understand what I am trying to archive here and have some good ideas.
little bit lost here, how to do this. I need to check that all new added features/strings/text/notifications... added to SUT can be found from SUT & Excel list.
I can switch on "test language", which adds to all strings "_T" before the string.
e.g File > Exit changes to _T File > _T Exit
I have a list of all strings (excel)
String------------english-----------testlanguage
FILEMENU********File**************_T File
So if e.g. in File menu will have a new item e.g "Sell", it will be found like _T Sell when I have set the "test language" on.
What would be the best way to go through the SUT and verify that all items has this _T ?
If I run my test (make with english UI language), can I e.g. somehow verify the string list same time and maybe same time automatically add some mark in the list which items has been verified? Or am I really thinking very wrong here and should make it work some other way?
Hopefully someone understand what I am trying to archive here and have some good ideas.