tag:blogger.com,1999:blog-1460259750386278518.post1430807187084608957..comments2024-03-18T04:03:04.068-07:00Comments on Software Functional Test Automation: xpath not working in selenium RC? 'descendant' axes to the rescueMahesh Narayananhttp://www.blogger.com/profile/08958481406561426910noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1460259750386278518.post-59331665601156209782009-11-19T01:50:30.695-08:002009-11-19T01:50:30.695-08:00I used selenium RC with python language, and i hav...I used selenium RC with python language, and i have problem identify locator of object. I have 2 links with code HTML<br />1.<br />a class="button button_edit" href="acct_edit?sessionID=d9PM79KCPOuh2avd&a=aaa"<br /><br />2.<br />a href="javascript:acct_del('cus_?sessionID=d9PM79KCPOuh2avd','aaa');" class="button button_remove"<br /><br />And I used Selenium IDE to identify locator of 2 links. And I have 2 locators:<br />1. <br />locator1 = "//a[matches(@href, 'acct_edit\?sessionID=[\w]*&a=" + Name + "')]"<br />With Name = aaa<br /><br />2.<br />locator2 = "//a[matches(@href, \"javascript:acct_del('cus\?sessionID=[\w]*','" + name + "');\")]"<br />with name = aaa<br /><br /><br />And I playback with 2 locators only locator1 executed well. and locator2 is not found<br /><br />I don't know what happend. Please help me..nothinghttps://www.blogger.com/profile/05200837121594748670noreply@blogger.comtag:blogger.com,1999:blog-1460259750386278518.post-10289356157821225552009-11-18T20:45:59.180-08:002009-11-18T20:45:59.180-08:00I used to it. but i can't work. please help me...I used to it. but i can't work. please help menothinghttps://www.blogger.com/profile/05200837121594748670noreply@blogger.comtag:blogger.com,1999:blog-1460259750386278518.post-12862057430862496072009-07-30T02:12:30.189-07:002009-07-30T02:12:30.189-07:00Hi, similar issue is found and registered in OpenQ...Hi, similar issue is found and registered in OpenQA bug tracker: http://jira.openqa.org/browse/SEL-692.<br /><br />So we have a chance that one day it will be fiexed...А.Б.https://www.blogger.com/profile/15946082367048034861noreply@blogger.comtag:blogger.com,1999:blog-1460259750386278518.post-60737764427739853232009-07-30T02:11:42.486-07:002009-07-30T02:11:42.486-07:00This comment has been removed by the author.А.Б.https://www.blogger.com/profile/15946082367048034861noreply@blogger.com