09-19-2012, 09:28 PM
Code:
InjuredPerson=Browser("ClaimCenter_Br").Page("ClaimCenter_Pg").WebList("InjuredPerson_PIP").GetROProperty("selection")
If InjuredPerson= "#8"Then
Reporter.ReportEvent micPass,"Drop down value selected or new Injured Person is created(4)",""
Call Logger(1,"Drop down value selected or new Injured Person is created")
else
Reporter.ReportEvent micFail,"Drop down value is not selected or new Injured Person is not created(4)",""
Call Logger(2,"Drop down value is not selected or new Injured Person is not created")
End If
Number 8 is dynamic.
I tried "#[0-9]" "#[0-9]+" "#*" "#d\" "#d\+" None workd Except "#8".
I am facing same kind of problem in several places. Where only numbers get changed. Need solution badly.