Entering data into hotel reservation yield management site

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Oracle1
Posts: 3
Joined: Mon Oct 03, 2005 1:27 pm

Entering data into hotel reservation yield management site

Post by Oracle1 » Mon Oct 03, 2005 1:31 pm

I have a page from a hotel reservation yield management service that I
am having a problem entering information into.

The screen has a calendar type interface that shows 4 room types per
day with various information per room per day. The rate and inventory
quantity fields are showing as separate fields and have separate
referenced in the same line, yet iOpus cannot tell the difference
between the two fields. Below is an example of one of the lines in
question.

<TR><TD><B>1</B></TD>
<TD>
<input onchange="return rateChangeMade(this)"
type=text name="1754~7/26/2005" size=6 class=rate
value="46.00">
</TD>
<TD>
<input name="1754~7/26/2005" onchange="return
qtyChangeMade(this)" type=text size=3 value="2" class=qty>
</TD>
</TR>

How do I get IM to put values in the two different fields?

The page changes every day because of the prior day disappearing so I
can't use the position type reference.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Entering data into hotel reservation yield management si

Post by Tech Support » Mon Oct 03, 2005 2:56 pm

Please note that the name of both input fields is identical:

<TR><TD><B>1</B></TD>
<TD>
<input onchange="return rateChangeMade(this)"
type=text name="1754~7/26/2005" size=6 class=rate
value="46.00">

</TD>
<TD>
<input name="1754~7/26/2005" onchange="return
qtyChangeMade(this)" type=text size=3 value="2" class=qty>

</TD>
</TR>

Solution: My first idea is that this is a typical case for the POS statement:

After recording the input for the FIRST box (TAG POS=1....) edit the macro, copy this line make it TAG POS=2....

See also the macro "Demo-Tagposition" for more details.

Please let me know if the suggested solution works for you.
Oracle1
Posts: 3
Joined: Mon Oct 03, 2005 1:27 pm

Post by Oracle1 » Mon Oct 03, 2005 3:05 pm

Using POS=1... and POS=2... solved the problem :D

Thanks for your quick response!
Post Reply