Hi @leena.lad,
Yes, you would create 2 profiles with the same variable included, e.g. packageName
.
Then you can update your test objects to include the reference to the Global Variable like this:
or you can do it in the test scripts like so:
When you run the test, select the profile and the test should inject the appropriate package name to the object.
Hope this helps,
Chris