I'm trying to automate a task in my Yahoo! store. I used WebRecorder to get the basic navigation down, and now I'm working on the details by hand. I'm using MS 10.
To set the stage, what I want to do is to process a list of orders one at a time, using order numbers 100 - 110.
All I need to do is to put 100 in an input box, press the button, wait for a new page, then click a radio button, then press another button. Then I click a link to return to the first page, and loop through this process again and again, incrementing the order numbers as I go.
Yahoo! writes their pages such that the control names change each time you load the page. So, for the first input control, when I record it in WR, it records it with certain names... but when I run it, these names change, and in fact, when I re-record it, the names are different yet again.
So, I decided to use the Tag Extractor to find the instance of the two controls that I need on the first page, the input box and the submit button.
WR's Tag Extraction Tool gave me this:
Code: Select all
//this is from Tag Extractor, locates the text box
//Modify buffer size if required ...
Let>INPUT2_SIZE=4098
IE_ExtractTag>%IE[0]%,,INPUT,2,0,INPUT2,r
MidStr>r_6,1,r,INPUT2
//this is from Tag Extractor, locates the submit button
//Modify buffer size if required ...
Let>INPUT2_SIZE=4098
IE_ExtractTag>%IE[0]%,,INPUT,1,0,INPUT1,r
MidStr>r_6,1,r,INPUT1
Code: Select all
MessageModal>%ktr%
IE_ClickTag>%IE[0]%,,,INPUT,INDEX,2,r
Send>%ktr%
Access violation at address 06B549D7 in module 'IEAuto.dll'. Read of address 00000002.
IEAuto.dll is in my system path, and a couple more places too.
I don't know what to do from here. Help, please!
Tx,
George[/img]