Delphi Combobox List Item Select
Posted: Thu Jan 30, 2020 5:43 pm
Hello everyone!
I do have an app written in delphi I have to automate tests on. I am unsure on the delphi version, however I do have a TRxDBLookup Combo Class and a controlname.
I do have to click on this list and select an item given in the test case. However, ranorex is unable to discover the items, so unless I start typing in the box itself, there is no sign of the items when I have ranorex click on the combo box. I attached the snapshot, the item in question is 'edNev', this is supposed to be a combo box, which drops down a list of items on click. The items are pulled from a database.
The 'edNev' is the controlname of the element and its class is TRxDBLookupCombo.
Could you please help me how I could access its list items to tell Ranorex to click on?
I also have found a forum topic on such delphi case, however I am unable to properly comprehend the code in there:
https://www.ranorex.com/forum/how-to-ge ... -t512.html
Thank you very much for your help! I would greaty appreciate any advice or suggestion.
I do have an app written in delphi I have to automate tests on. I am unsure on the delphi version, however I do have a TRxDBLookup Combo Class and a controlname.
I do have to click on this list and select an item given in the test case. However, ranorex is unable to discover the items, so unless I start typing in the box itself, there is no sign of the items when I have ranorex click on the combo box. I attached the snapshot, the item in question is 'edNev', this is supposed to be a combo box, which drops down a list of items on click. The items are pulled from a database.
The 'edNev' is the controlname of the element and its class is TRxDBLookupCombo.
Code: Select all
/form[@controlname='FelhasznJutalekForm']/element[@controlname='edNev']
I also have found a forum topic on such delphi case, however I am unable to properly comprehend the code in there:
https://www.ranorex.com/forum/how-to-ge ... -t512.html
Thank you very much for your help! I would greaty appreciate any advice or suggestion.