select command not working

Jul 19, 2013 at 11:16 AM
Edited Jul 19, 2013 at 11:17 AM

I am trying to automate one page but select drop down menu is not working can any one pls help , harness can select country only but it unable to select state or city I also tried by using Thread.Sleep() but no luck can any one pls help
    harness.Command("go", "")
    harness.Command("set", "name=ctl00$ContentPlaceHolder1$txtBusinessName", "shripad")
    harness.Command("set", "name=ctl00$ContentPlaceHolder1$txtAddress1", "deshmukh")
    harness.Command("set", "name=ctl00$ContentPlaceHolder1$txtAddress2", "my address")
    harness.Command("select", "name=ctl00$ContentPlaceHolder1$cboCountry", "India", "true")
    harness.Command("select", "name=ctl00$ContentPlaceHolder1$cboState", "Maharashtra", "true")
    harness.Command("select", "name=ctl00$ContentPlaceHolder1$cboCity", "   Andur", "true")
    harness.Command("set", "name=ctl00$ContentPlaceHolder1$txtZip", "431122")
    harness.Command("click", "  link=Next")
Jul 20, 2013 at 5:30 PM

can any one please help
Jul 29, 2013 at 4:39 PM
shri80 wrote:

can any one please help
any one pls help