tag:blogger.com,1999:blog-2411958903224745637.post5538261311596773675..comments2024-03-14T10:48:54.941+05:30Comments on All about application performance and test automation: Webdriver - Mouse over events (Hover).Bharath Marrivadahttp://www.blogger.com/profile/12485730458517413391noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2411958903224745637.post-11819569497798425902016-02-11T18:17:35.830+05:302016-02-11T18:17:35.830+05:30Hi bharat,
Thank you sooo much.. Robot class is w...Hi bharat,<br /><br />Thank you sooo much.. Robot class is working fine for my application.Lavanyahttps://www.blogger.com/profile/18061247423457917078noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-10877992998300598412013-11-19T21:09:35.925+05:302013-11-19T21:09:35.925+05:30Hi Bharath,
I tried using the code approach of
...Hi Bharath, <br /><br />I tried using the code approach of <br /><br /> Point coordinates = driver.findElement(By.id("ctl00_portalmaster_txtUserName")).getLocation();<br /> Robot robot = new Robot();<br /> robot.mouseMove(coordinates.getX(),coordinates.getY()+120);<br /><br />and this did not work.<br /><br />The scenario is as follows.<br /><br />Go to www.hdfcbank.com Do Mouseover Find your nearest (Main Menu A, I am able to do this using actions driver concept) then Mouse over Submenu B which is ATM (this also I am able to do this) and then click on SubMenu C "All ATMs" (this is the one I am NOT able to to)<br /><br />Could you kindly give inputs to this scenario.<br /><br />Thanks,<br /><br />EJAnonymoushttps://www.blogger.com/profile/03149820121972050528noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-15991184030764092992013-08-22T13:14:09.519+05:302013-08-22T13:14:09.519+05:30Find the different window handles available and sw...Find the different window handles available and switch to it.Bharath Marrivadahttps://www.blogger.com/profile/12485730458517413391noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-21403651506272313512013-08-22T12:56:49.012+05:302013-08-22T12:56:49.012+05:30hi
by using robot class i am able to hover and cl...hi <br />by using robot class i am able to hover and click on the subLink but after that webdriver is not able to find locators in the new page ... do i need to release mouseMove or anything likewise can you please help me in this issue.vinodhttps://www.blogger.com/profile/13328377170147514072noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-75629304804214770272013-02-27T18:01:15.860+05:302013-02-27T18:01:15.860+05:30i have a problem while clicking sublink
WebDriver...i have a problem while clicking sublink<br /><br />WebDriver driver=new FirefoxDriver();<br /> driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);<br /> driver.get("http://qaplanet.in/web-app/hrm/login.php");<br /> driver.findElement(By.name("txtUserName")).sendKeys("admin");<br /> driver.findElement(By.name("txtPassword")).sendKeys("admin");<br /> driver.findElement(By.name("Submit")).click();<br /><br />after login to the page we need to clik AddEmployee under PIM:<br /><br />please reply with code<br />Anonymoushttps://www.blogger.com/profile/18301490153479388647noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-5022471343885492852013-01-04T23:12:31.615+05:302013-01-04T23:12:31.615+05:30i have a problem using action builder after updati...i have a problem using action builder after updating to 2.28 with Firefox 13.0<br /><br />this is the code i used <br />WebElement change_language= driver.findElement(By.xpath("//*[@id='change_language']/p"));<br /> WebElement french= driver.findElement(By.xpath("//*[@id='change_language']/div/ul/li[2]/a"));<br /> Actions builder = new Actions(driver);<br /> builder.moveToElement(change_language).build().perform();<br /> french.click();<br /><br />any suggestions welcome <br /> Hola Tomorrowhttps://www.blogger.com/profile/06694091840135376226noreply@blogger.com