Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select From List
#4
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi Saket,
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 find the attached screen shot document...

Please let me know if u need any information apart from this...


Attached Files Image(s)
       
Reply


Messages In This Thread
Select From List - by rahul1234 - 11-05-2009, 08:38 PM
RE: Select From List - by venkatbatchu - 11-05-2009, 09:15 PM
RE: Select From List - by Saket - 11-06-2009, 11:06 AM
RE: Select From List - by venkatbatchu - 11-06-2009, 12:08 PM
RE: Select From List - by Saket - 11-06-2009, 12:16 PM
RE: Select From List - by venkatbatchu - 11-06-2009, 12:21 PM
RE: Select From List - by rahul1234 - 11-08-2009, 05:48 PM
RE: Select From List - by venkatbatchu - 11-09-2009, 07:09 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)