Jump to content
WAPT Forum
Sign in to follow this  
Guest zooser

Accessing local machine address from WAPT

Recommended Posts

Guest zooser

Hi,

 

I'm writing a script at the moment whereby I need to access the local machine that WAPT is running on using a session variable to access a path on that local machine.

 

i.e. I want to grab a token from a web page, then use that token to access a webpage stored locally on the machine where WAPT is running

 

Is this actually possible?

 

I'm not sure it is as it seems that you must supply WAPT a port number along with the Server & URI. I need it to use an address similar to localhost//dir1/dir2/blah.htm

 

TIA

 

Zooser

Share this post


Link to post
Share on other sites
Guest angela
Hi,

 

I'm writing a script at the moment whereby I need to access the local machine that WAPT is running on using a session variable to access a path on that local machine.

 

i.e. I want to grab a token from a web page, then use that token to access a webpage stored locally on the machine where WAPT is running

 

Is this actually possible?

 

I'm not sure it is as it seems that you must supply WAPT a port number along with the Server & URI. I need it to use an address similar to localhost//dir1/dir2/blah.htm

 

TIA

 

Zooser

 

Hi,

 

Do you need to get some data from a web page (in particular, from its code) and use it to access a local page?

 

If we understood your requirements, you can try to find such data using a request to the web page where you can find the data, and then save it to a parameter using, for instance, Search function in WAPT. Then in the next request you can use the above parameter in the required place. Do you need to use it in a URI? If yes, you can create a URI using some WAPT variables. Please let me know.

 

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...