Can you add a little bit more explanation? Your variable is called objectName but you are passing the string literal "objectName". Is that intentional? Or are you just trying to pass "Test" as a parameter into your class constructor?
Assuming the latter...
Constructor example that uses strings: https://www.w3schools.com/cpp/cpp_constructors.asp
(w3school's tutorial makes a minor wrong point; a constructor is not necessarily public, but for your purposes it will be.)
Test myTestVariable(objectName); //notice the lack of quotes on objectName.
creates a new variable of type Test
which is named myTestVariable
and has been initialized/constructed with your const char* data.
this is syntax identical to
int myInt(42);
(integers are not objects, exactly, but the syntax mirrors)
in the very odd case that Test was designed to allow it,
Test(objectName); //this could do something, if you wrote it that way, but this is an advance form of using special purpose objects that I suspect you were not trying to do.