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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...