I managed to get the first step working, putting a variable in the xpath, by using the script tab:
dashboard = ‘Projects’
TestObject to = findTestObject(‘a_dashboarditems’)
to.findProperty(‘xpath’).setValue(’//*[normalize-space(text())=\’’+dashboard+’\’]’)
But i can’t get it to work in the object’s property screen. I need to get this to work because i want to use a variable from a csvfile later on.
Anyone knows how to use the variable in xpath by using the objectproperty tab?