Where do I insert XPath?

28 views
Skip to first unread message

Jim Bailey

unread,
Jan 4, 2013, 1:10:00 PM1/4/13
to cubicte...@googlegroups.com
Working on this website www.richardappliance.com I can not get Cubic Test to click the Search button.
When recording, it skips over it. There is no id (which would make it easy to stick it in manually)
So, I have found the xpath using XPath Checker.

My question is: How and where do I insert the xpath? I don't know what element type to use or what identifier within the element.

Mason Foley

unread,
Jan 5, 2013, 9:13:58 AM1/5/13
to cubicte...@googlegroups.com
//button[@title='Search']

Jim Bailey

unread,
Jan 7, 2013, 9:44:55 AM1/7/13
to cubicte...@googlegroups.com
OK, so instead of using the xpath, I can copy your answer into a Button element. Correct?
I have: Label, Name, Id, Tooltip, Class, Src, and Alt.text.
Which property do I use?

If I'm heading in the wrong direction perhaps you could expand your original answer.

Mason Foley

unread,
Jan 7, 2013, 12:14:13 PM1/7/13
to cubicte...@googlegroups.com
Show me the code where you are trying to click on the button.  That should provide the right context to figure out where the xpath goes.

Cheers,
MWF
Reply all
Reply to author
Forward
0 new messages