Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 36
Location : chennai

Webdriver_Select value in Autocomplete Menu Empty Webdriver_Select value in Autocomplete Menu

Mon Aug 20, 2012 6:19 pm
require_once "./phpwebdriver/WebDriver.php";
require_once "./phpwebdriver/LocatorStrategy.php";
$webdriver = new WebDriver("127.0.0.1", "4444");
$webdriver->connect("firefox");
$webdriver->get("http://192.168.2.10/po/cadmin/index.php?cmd=crm&act=addTask&csrf=LTE3MzQwMDQ1Nw__");
$element =$webdriver->findElementBy(LocatorStrategy::name, "USERNAME");
$element->sendKeys(array("ss4u" ) );
$element =$webdriver->findElementBy(LocatorStrategy::name, "hash");
$element->sendKeys(array("123456" ) );
$element->submit();
$webdriver->setPageLoadTimeout(100);
$element =$webdriver->findElementBy(LocatorStrategy::name, "customer_name");
$element->sendKeys(array("gu" ) );
$webdriver->typeKeys("customer_name", "guru");
$webdriver->setPageLoadTimeout(1000);
$webdriver->mouseOver("/html/body/ul/li/a[. = \"guru\"]");
$webdriver->findElementBy(LocatorStrategy::linkText("guru")).click();
$webdriver->click("/html/body/ul/li/a[. = \"guru\"]");*/
?>



Pls see my webdriver coding in above,i have to select the value from the listed value in Autocomplete Menu...pls acquaint me where i am wrong...
Back to top
Permissions in this forum:
You cannot reply to topics in this forum