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

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  

×