Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Finding Web Objects Using XPath Expressions

$
0
0

 

Hi everyone,

 

I'm currently trying to acces to an element of a web page but it doesnt work.

 

I have this code :

 

<divclass="control-group span5"><labelclass="control-label" for="TestStatus">Statut</label><divclass="controls"><selectname="data[Test][Status]"  id="TestStatus"><optionvalue="1" >Status1</option><optionvalue="3" >Status2</option><optionvalue="2" >Status3</option></select></div>

 

And the following command works : //Select [@id='TestStatus'] 

 

On another hand I have this following code :

 

<divclass="control-group span5"><labelclass="control-label" for="TestStatus2">Catalogue</label><divclass="controls"><selectname="data[Test][Status2][]"  multiple="multiple" id="Status2GroupId"><optionvalue="" >&nbsp;</option><optionvalue="29" >Status1</option><optionvalue="30" >Status2</option></select></div>

And I can't reach it. Is this multiple parameter supported ?

Thank you for any help you can provide.


Viewing all articles
Browse latest Browse all 20755

Trending Articles