How to get the tag control under one td?
control_under_TD_Query = "table/tbody/tr/td/descendant::input"
control_under_TD = Browser(Browser).performXpathQuery(control_under_TD_Query)
I know the answer is a <CheckBox> or <EditBox> or some tag name,
BUT the question is sometime I don`t know the what to put after the "table/tbody/tr/td/descendant:: ????????"
I want to know what underneath the td. I don`t know the content of "????????". what to do then??
is there an input tag or a select tag or a span or both or all of them?
if the TD tag has input, or a combo like span and input, can I know how many input and span tags and get their full element path during playback?
I want the answers output like the following
the TD has 2 <span>(s), 1 <input>, '
span path: table/tbody/tr/td/span
span path : table/tbody/tr/td/span
is that too hard? Sorry, It is kind of challenging I think, remeber we don`t know the content of underneath the table, maybe a <select> or <a> . Also, all are need to be done during playback. No Manually check are supposed to involved.
this is not easy ... have a try