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

Creat a dynamic string

Recommended Posts

Guest George

Hi,

 

I am testing a site that allows a search using a comma separated list as the criteria in the usl. This list could be 1 item or could go up to 100 items separated by commas.

 

For example:

http://localhost.here.com/p-ws-public/ws/c...show/moneywatch

 

or it could be:http://localhost.here.com/p-ws-public/ws/categories/videos/fetch?categoryKey=/ng/tv/show/viva-laughlin,/ng/tv/show/conviction

 

I want to be able to take items randomly from an external file and build a comma separated list dynamically. Is there some way to do this in WAPT? Can I script this?

 

Any ideas?

Share this post


Link to post
Share on other sites

Hi, George

 

In the current version of WAPT you can initialize a variable by random value from an external file and use it as URL path. But the file should contain already formed URLs. In the next version of WAPT Pro you will be able to use java script and build URL path dynamically during a test.

 

Share this post


Link to post
Share on other sites
Guest mshrestha
Hi, George

 

In the current version of WAPT you can initialize a variable by random value from an external file and use it as URL path. But the file should contain already formed URLs. In the next version of WAPT Pro you will be able to use java script and build URL path dynamically during a test.

 

 

Hi Which version are you talking here?

I've WAPT Pro 1.0 Built on May 7 2009. Does it have support for the java script?

 

Manish

Share this post


Link to post
Share on other sites
Hi Which version are you talking here?

I've WAPT Pro 1.0 Built on May 7 2009. Does it have support for the java script?

 

Manish

 

WAPT Pro 2.0 will support java script execution.

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