Pass captured object/element as parameter in test case?

Hey guys,

I am calling one test case from another test cases
How can i pass captured objects from one test case to another test case while use callTestCase(“”) method ?

Suppose i have two buttons which will going to click in TestCase1
Button A
Button B

my code is

WebUI.callTestCase(findTestCase('Test/TestCase1'), ['button': A])

here if i pass Button A then it will click button A in TestCase1 and if i pass Button B then it will click button B in TestCase1

can i use it in TestCase1 like this ?

WebUI.click(findTestObject(Button A))

so can anyone suggest something on that.