Use WebUI.setText(findTestObject('Object Repository/TextBox'), parameter)
Add a variable named “parameter” in the TC GoogleSearch
In Suite1, click “Map All”, you have to see the variable and the TestData like this
@HeleneB -
Thank you so much for helping me out !!! Now, I am confident of writing out test scripts with multiple test data rows.
Just one query:
WebUI.setText(findTestObject(‘Object Repository/TextBox’), findTestData(‘SearchParameter’).getValue(new TestObjectProperty(‘Parameters’, ConditionType.EQUALS, Parameters), 1))
I was trying to do like this but this doesn’t work.
Any reason for not working.
reason may be m not adding any variable in testcase file where i just added feature file. If i execute direct feature files it run perfectly.
I tried with adding variable in feature file but not able to get solution
Is there is a way to iterate a number of testcases using data binding. For instance I have a test case that starts from login page then create users then submits. However I only want it to perform the login once while I loop the profile creation step alone without it closing the browser?