There is one obvious error in your UI module. The ui. should only appear
once on the top level object because
it is a pointer for the DSL parser. Try to change your UI module to
ui.Frame(uid: "MainFram", name: "MainFram"){
Container(uid: "Left", clocator: [class: "leftContentTd"])
{
Container(uid: "Processes", clocator: [tag:
"form", position:
"3"]){
Repeat(uid: "ProcessLink", clocator:
[tag: "table"]){
Image(uid: "Star", clocator:
[tag: "img"])
UrlLink(uid: "Process",
clocator: [tag: "a"])
}
}
}
}
Hope this helps,
Jian
On Tue, Dec 28, 2010 at 4:17 AM, Rajshri <[email protected]> wrote:
> Hi All,
>
> ui.Frame(uid: "MainFram", name: "MainFram"){
> Container(uid: "Left", clocator: [class: "leftContentTd"])
> {
> ui.Container(uid: "Processes", clocator:
> [tag: "form", position:
> "3"]){
> Repeat(uid: "ProcessLink", clocator:
> [tag: "table"]){
> Image(uid: "Star", clocator:
> [tag: "img"])
> ui.UrlLink(uid: "Process",
> clocator: [tag: "a"])
> }
> }
> }
> }
>
>
> I have UI module as above
> I want to know match count of object for "ProcessLink" Uid
>
> In my application i have a form and inside that as a indirect child,
> it has a table, and inside that table, it has multiple tables as
> indirect child.
>
> Now the inner most table contains one image and one link.
>
> that link is my process name. Now the link count is not fix and the
> link label is also not fix.
>
> know how may innermost table here because the no of table i have
> means same no of process link i have. Logic is something like this
>
> x=No of inner most table
> y='My process name which i need to click'
>
> If somehow I can get the count of
> "MainFram.Left.Processes.ProcessLink" I will put a for loop
>
> for i=1 to count
> k=getText("MainFram.Left.Processes.ProcessLink["& i &"].Process")
> if (k==y){
> click "MainFram.Left.Processes.ProcessLink["& i &"].Process"
> }
>
>
> Thanks in advance
> Rajshri
>
> --
> 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]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>
>
--
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.