Ask a Question

Convert a string to an Object.

New Member

Convert a string to an Object.

Hi, I am trying to get an object from an Excel sheet; it will return a string value. Now, I want to convert it into an Object to use in my script. Is there any way to do so?

Champion Level 2
Champion Level 2

Hello Perton, You can take a look at this blogpost by smartbear: Working with Microsoft Excel Files | TestComplete Documentation (

Maybe assign that cell value to a variable? to use it further in your tests.


also another Link that I found usefull when creating tests and using excel is: (2) TestComplete: Write data into Excel (step by step) | LinkedIn

Champion Level 3

Ensure you understand what an Object is. 


If you are calling the following property e.g. Cell(A1).Value, it will usually return the type and the value of that particular cell. Whereas, calling the method e.g. Cell(A1) will return the the cell object.


Showing results for 
Search instead for 
Did you mean: