Hello,
I would appreciate if someone can guide me in this situation.
I am suppose to add a row and from that list I am suppose to select the first drop-down and then add the next row and select the next drop-down.
Here is my code:
The problem is the selected drop-down always goes to the first row and not able to get the 2nd drop-down in the 2nd row.
The only change I see in the property "FNOLWizard:NewClaimWizard_Poli" is the abs_y and y property change between the two drop down position
How can I make these properties dynamic while I run the script?
Thanks
Pat
Pat
I would appreciate if someone can guide me in this situation.
I am suppose to add a row and from that list I am suppose to select the first drop-down and then add the next row and select the next drop-down.
Here is my code:
Code:
myframe=Browser("[DEV mode - 7.0.2.29]").Page("[DEV mode - 7.0.2.29]").Frame("top_frame_2").WebList("FNOLWizard:NewClaimWizard_Poli").GetROProperty("all items")
mytotal=Browser("[DEV mode - 7.0.2.29]").Page("[DEV mode - 7.0.2.29]").Frame("top_frame_2").WebList("FNOLWizard:NewClaimWizard_Poli").GetROProperty("items count")
myframearr = split (myframe, ";")
For i=1 to mytotal-1
mycoverag = myframearr(i)
Browser("[DEV mode - 7.0.2.29]").Page("[DEV mode - 7.0.2.29]").Frame("top_frame_18").Link("Add").Click 21,12
Browser("[DEV mode - 7.0.2.29]").Page("[DEV mode - 7.0.2.29]").Frame("top_frame_4").WebList("FNOLWizard:NewClaimWizard_Poli").Select (mycoverag)
Next
The problem is the selected drop-down always goes to the first row and not able to get the 2nd drop-down in the 2nd row.
The only change I see in the property "FNOLWizard:NewClaimWizard_Poli" is the abs_y and y property change between the two drop down position
How can I make these properties dynamic while I run the script?
Thanks
Pat
Pat