select command not working

Jul 19, 2013 at 10:16 AM
Edited Jul 19, 2013 at 10:17 AM
Hi

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", "http://www.expressbusinessdirectory.com/AddYourBusiness.aspx/")
    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 4:30 PM
hi

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

can any one please help
any one pls help