Jump to content
WAPT Forum
Sign in to follow this  
JohnPMurray

Accessing Profile Name as A Variable

Recommended Posts

Hi Team,

 

I was wondering if there was a way to get the name of a profile in the WAPT tool from within that profile.

 

I've been using the tool to write some of the results to a database, and I want to be able to record which profile was run without hard coding the profile name into the database call.

 

Thanks,

John

Share this post


Link to post
Share on other sites

Unfortunately you can't get a profile name from within the profile.

You can create an initial variable with the profile name and use it whenever you need.

Share this post


Link to post
Share on other sites

Where is the program getting the profile name from when the test execution report is generated?

 

Is there no way for me to access it in the same way?

 

Even being able to pull the file name would suffice.

Share this post


Link to post
Share on other sites

There is no way to get the profile name from within the profile.

Why don't you want to use an initial variable with the profile name?

Please, describe your needs more carefully maybe I will be able to offer some solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×