using data driven test with treeitems

Experiences, small talk, and other automation gossip.
dave132
Posts: 4
Joined: Tue Feb 20, 2018 1:11 am

using data driven test with treeitems

Post by dave132 » Tue Feb 20, 2018 1:30 am

Hi Everyone,

In The winForms aplication I am testing I have a treeitem that I want ranorex to identify and click on it.
There are a few treeitems that I have created (folders) in the windows application and now I want to delete each one of them
I wish to use data driven test to read from CSV file each folder name I have created which is a treeitem
f1,f2,f3 etc.. and the automated script should click on each one of them to delete them
How can I create a variable on a treeitem? to use in a data driven test.
See attached screenshot
Attachments
screenshot2.jpg
screenshot2
screenshot2.jpg (471.18 KiB) Viewed 326 times
screenshot1.jpg
screenshot1
screenshot1.jpg (409.63 KiB) Viewed 326 times
Last edited by dave132 on Thu Feb 22, 2018 12:39 am, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3945
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: using data driven test with treeitems

Post by odklizec » Tue Feb 20, 2018 2:47 pm

Hi,

Please post a Ranorex snapshot, not screenshots! Screenshots are useless for the problem evaluation. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

dave132
Posts: 4
Joined: Tue Feb 20, 2018 1:11 am

Re: using data driven test with treeitems

Post by dave132 » Thu Feb 22, 2018 12:13 am

Please see attached the Ranorex Snapshots
Attachments
TreeItems.rxsnp
Treeitems in repository
(495.62 KiB) Downloaded 10 times