There are two dropdowns in a webpage. Im trying to set the selected valu of the dropdowns.
The second IE_FormFill is suppose to set the second drowdown which its name is birthDate2. but it overwrites the value of the first dropdown which its name is birthDate1. IE_FormFill sets the wrong html element. You can find the html content below.
Please help how can I solve the problem...
Macro:
Let>FrameName={""}
Let>FormName={"PersonelCustomerForm"}
Let>FieldName={"birthDate1"}
Let>FieldValue={"18"}
IE_FormFill>%IE[2]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0,r
Let>FrameName={""}
Let>FormName={"PersonelCustomerForm"}
Let>FieldName={"birthDate2"}
Let>FieldValue={"08"}
IE_FormFill>%IE[2]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0,r
HTML Content:
Code: Select all
-
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-
01
02
03
04
05
06
07
08
09
10
11
12textarea]