11-06-2009, 12:08 PM
Hi Saket,
Thanks for updating me about that,
i have modified and keeping the logic here
Please find the attached screen shot document...
Please let me know if u need any information apart from this...
Thanks for updating me about that,
i have modified and keeping the logic here
Code:
Browser("xxxxxxxxxx").Page("xxxxxxxxxx").Frame("main").WebList("p_states").Select("State1")
pvalue=Browser("xxxxxxxxxx").Page("xxxxxxxxxx").Frame("main").WebList("p_states").GetROProperty("selection")
cvalues=Browser("xxxxxxxxxx").Page("xxxxxxxxxx").Frame("main").WebList("p_districts").GetROProperty("all items")
If pvalue="State1" and cvalues="* None *;District1;District2;District3" Then
Reporter.ReportEvent micPass,"For the selecting state1 in state list","Which is showing as expected"
else
Reporter.ReportEvent micFail,"For the selecting state1 in state list","which is not showing as expected"
msgbox "Fail"
End If
Please let me know if u need any information apart from this...