Hi,
I have the following html
<div id="sentiment_chart" class="center section">
<div style="width: 458px; height: 360px;"
id="media_type_hit_per_day_chart">
<div style="text-align: center;" id="StackedColumn3D1295990030Div">
<embed height="355px" width="450px"
flashvars="flashvars=&id="StackedColumn3D1295990030" style=""
src="http://cdn.xyz.com/prod/charts/StackedColumn3D.swf"
type="application/x-shockwave-flash">
</div>
</div>
</div>
Here is my ui definition:
//Sentiment Chart
ui.Container(uid:"main", clocator:[tag:"div", id:"main"]){
Div(uid:"sentiment", clocator:[tag:"div",
id:"media_type_hit_per_day_chart"]){
Div(uid:"chart", clocator:[tag:"div",
id:"StackedColumn3D*"]) // <<<<< USING '*' for wildcard>>>>>>>
}
}
Here is what TrUMP generated definition (I modified the id to use wild chars)
as
the ID is dynamically generated.
ui.TextBox(uid: "StackedColumn3D", clocator: [tag: "embed", name:
"StackedColumn3D*", <<<<< USING '*' for wildcard>>>>>>>
id: "StackedColumn3D*", src:
"http://cdn.meltwaterbuzz.com/meltwaterbuzz/prod/charts/StackedColumn3D.swf",
type: "application/x-shockwave-flash"])
When I try to use
if(mbh.waitForElementPresent("StackedColumn3D", 30000)){ ....}
OR
if(mbh.waitForElementPresent("main.sentiment.chart", 30000)){....}
It always throws an ERROR that the element was not present after timeout. I
have
used '*' for wildcards before and it had worked.
has anything changed or am I using regular expression incorrectly? Thank you
for
your help in advance.
Manoj
--
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en.