floodzone
April 26th, 2006, 10:06 PM
Hi,
I was wondering if some of you might be kind enough to give me some input on a small project that I need to do for work. I need to create a stand alone application to test an e-commerce site that uses a shopping cart. It needs to do the following strictly through code (not user-GUI-mouse type stuff):
* Create an instance of IE and go to a hardcoded URL
* Login to the site with a user name and password, "press" a submit button once this information has been entered
* Search the resulting page for particular .gifs, click on these .gifs - which will result in adding the item to the shopping cart (the .gifs are icons which are labeled "item in stock" - a regular user would click on these .gifs to add the item to his shopping cart)
* Wait a few minutes, refresh the page, and then locate the .gifs again and click on them (again adding the items to the shopping cart)
* Ideally set it up to run continuously for 24, 48, 72 hours etc...
Just to clarify, the site itself is completely finished. This is just an application that I need to develop to test that products are essentially "flowing" into inventory as available for purchase. I need an automated system to add certain items to a shopping cart as they become
available.
So my questions are this:
1) Does this sound like an appropriate project for VB?
2) VB 6 or .Net? I would like to keep it as simple as possible.
3) Do you see any potential problems by using VB for this?
I really appreciate any feedback or pointers on this....my VB skills are a little rusty, so I wanted to get some ideas before I just dive in. Thanks in advance.
I was wondering if some of you might be kind enough to give me some input on a small project that I need to do for work. I need to create a stand alone application to test an e-commerce site that uses a shopping cart. It needs to do the following strictly through code (not user-GUI-mouse type stuff):
* Create an instance of IE and go to a hardcoded URL
* Login to the site with a user name and password, "press" a submit button once this information has been entered
* Search the resulting page for particular .gifs, click on these .gifs - which will result in adding the item to the shopping cart (the .gifs are icons which are labeled "item in stock" - a regular user would click on these .gifs to add the item to his shopping cart)
* Wait a few minutes, refresh the page, and then locate the .gifs again and click on them (again adding the items to the shopping cart)
* Ideally set it up to run continuously for 24, 48, 72 hours etc...
Just to clarify, the site itself is completely finished. This is just an application that I need to develop to test that products are essentially "flowing" into inventory as available for purchase. I need an automated system to add certain items to a shopping cart as they become
available.
So my questions are this:
1) Does this sound like an appropriate project for VB?
2) VB 6 or .Net? I would like to keep it as simple as possible.
3) Do you see any potential problems by using VB for this?
I really appreciate any feedback or pointers on this....my VB skills are a little rusty, so I wanted to get some ideas before I just dive in. Thanks in advance.