Apr 22, 2016, 6:44 AM
Post #3 of 15
Sorry . I used this xpath after but i forgot to add it in my code here . I did exactly like that.
Re: [Zhris] Special selectors with Selenium Test
[In reply to]
I took all the morning to search a solution even with your approach. But still doesn't work
Using predicates. What do you mean by this ?
The "problem" is that my css builder, DevBuilder, makes itself selectors and attributes with their own names. And so, even with xpath , as i did, it doesn't work cause it refers to severals buttons with the same class and not only one. And we cannot modify css Builder page generated.
You will tell me: how this DevBuilder organizes all buttons also? It uses an attribute named 'tableindex' . tableindex =0 for example as it written in my firt post. But i think ,cause i didn't find the way, we can't use it with Selenium::Remote::Driver.
But it could be necessarily possible to test them . I thought to create a function with Perl but i don't know where to begin. My level in Perl is still too poor , i am a beginner.
And many thanks for your time !
(This post was edited by Chaoui005 on Apr 22, 2016, 6:45 AM)