Hi Team,
Here I’m trying to capture the value if inner text object and want to print on the console but with this code, it prints the whole code statement on console please assist 
can you show html of that object?
i suspect that it is input field… try to use getAttribute(…,‘value’) instead of getText
Try using WebUI.getAttribute(findTestObject(....), 'value') instead.
Good timing! 
Exactly 