Parameters more then one object property

My use case is, I want to verifyElementText, so I set a parameter of ${test} can call it from a data table. However, the same object has another parameter called ${app} that insert from my global variable into the object. My question is how can I put both these parameter into the script below.

It seems like I can only use one parameter script in the code:
I want to combin these two:

Mobile.verifyElementText(findTestObject(‘OBJECTNAME’, [‘text’ : DATATABLE_String]), DATATABLE_string)
Mobile.versifyElementExistist(findTestObject(‘OBJECTNAME’, [(‘app’) : GlobalVariable.APP]),0)

the parameters should be:

['text' : DATATABLE_String, 'app' : GlobalVariable.APP]
1 Like