how can i get data from testData and use Parameterize Web Test Objects, thanks for any help.
My code :
for( i = 1; i < 10; i++){
xpath = findTestData('new_user').getValue(i, 1)
name = findTestData('new_user').getValue(i, 1)
WebUI.setText(findTestObject('Object Repository/input_text'
,[ 'value' : xpath ] ), name )
}
it’s said : Unable to find the element located by ‘By.xpath: //input[@name=‘username’]’
but it’s working when i use
WebUI.setText(findTestObject('Object Repository/input_text'
,[ 'value' : 'username' ] ), name )
Please rewrite your post using “Code Formatting” syntax properly for better readability.
1 Like
I am unable to answer to your question because we need more info.
See