53 reputation
6
bio website weibo.com/okampfer
location Chengdu, China
age
visits member for 1 year, 11 months
seen Jul 25 at 6:15

Java vs. .NET
Python vs. Ruby
Chrome vs. Firefox


Jun
6
awarded  Popular Question
Nov
13
asked WebDriver Ruby binding: How to specify Firefox binary path in code?
Oct
11
awarded  Student
Oct
10
awarded  Scholar
Oct
10
accepted How to indicate an ` ` in xpath?
Oct
10
comment How to indicate an ` ` in xpath?
@user246 I took a look at this, How to enter Unicode characters in Microsoft Windows It seems somewhat complex to enter unicode character. Since starts-with works good enough, I'll stop right here. Thank you for your help!
Oct
10
comment How to indicate an ` ` in xpath?
@user246 In the last post of that discussion, //*[starts-with(translate(text(), ' ', ''), 'filter')] this line works! Notice: the 2nd argument in translate() function is nbsp inserted with Alt+0160, what does the Alt+0160 mean?
Oct
9
comment How to indicate an ` ` in xpath?
Is there any more useful xpath function besides starts-with? Can you give me some links where you get to know them? ^_^
Oct
9
comment How to indicate an ` ` in xpath?
@user246 //label[text()='AgendaShowCapacity (1 remaining)'] doesn't work.
Oct
9
revised How to indicate an ` ` in xpath?
Change title.
Oct
9
comment How to indicate an ` ` in xpath?
I used to use //label[contains(text(), 'AgendaShowCapacity')] as a workaround, until I notice //label[starts-with(text(), 'AgendaShowCapacity')] in your answer, it is much more accurate to use starts-with than contains. Thank you again!
Oct
9
revised How to indicate an ` ` in xpath?
Add more findings of my own researching.
Oct
9
awarded  Supporter
Oct
9
comment How to indicate an ` ` in xpath?
Thanks, user246. I used to ask this question on stackoverflow but got no helpful result. I found SQA filled with so many selenium webdriver questions so this must be the place I'm looking for.
Oct
9
comment How to indicate an ` ` in xpath?
@SuchitParikh I tried that, but it doesn't work either. Did you mean //label[text()='AgendaShowCapacity \(1 remaining\)']?
Oct
9
awarded  Editor
Oct
9
revised How to indicate an ` ` in xpath?
Correct wrong C# codeing.
Oct
8
awarded  Teacher
Oct
8
asked How to indicate an ` ` in xpath?
Oct
8
answered What are the advantages of web driver over selenium RC?