From: Jian Fang <john.ji...@gmail.com>
To: telluri...@googlegroups.com
Sent: Wednesday, May 13, 2009 2:01:25 PM
Subject: Re: AOST - Beginner
Since Tellurium artifacts are hosted on Kungfuters.org, not repo1.maven.org, You need to add the Kungfuters.org repositoriesAlternatively, you can specify the Maven repository directly in Maven command without the above step.
to your HOME/.m2/settings.xml or you project super POM file, i.e.,
<repository>
<id>kungfuters-public-snapshots-repo</id>
<name>Kungfuters.org Public Snapshot Repository</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>http://kungfuters.org/nexus/content/repositories/snapshots</url>
</repository>
<repository>
<id>kungfuters-public-releases-repo</id>
<name>Kungfuters.org Public Releases Repository</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<url>http://kungfuters.org/nexus/content/repositories/releases</url>
</repository>
mvn archetype:create -DgroupId=your_group_id -DartifactId=your_artifact_id -DarchetypeArtifactId=tellurium-junit-archetype -DarchetypeGroupId=tellurium -DarchetypeVersion=0.6.0 -DarchetypeRepository=http://kungfuters.org/nexus/content/repositories/releasesDo the same for the 0.7.0 snapshot repo.
From: Jian Fang <john.ji...@gmail.com>
To: telluri...@googlegroups.com
Sent: Tuesday, July 14, 2009 1:24:11 PM
Subject: Re: AOST - Beginner
..7.0/tellurium-junit-archetype-0.7.0.jar
From: Jian Fang <john.ji...@gmail.com>
To: tellurium-users <telluri...@googlegroups.com>
Sent: Tuesday, July 14, 2009 2:18:15 PM
Subject: Re: AOST - Beginner
From: Jian Fang <john.ji...@gmail.com>
To: telluri...@googlegroups.com
Sent: Tuesday, July 14, 2009 6:12:51 PM
Subject: Re: AOST - Beginner
If each sub section likes the following,
<li>
<a href="http://www.mysite.com/MemberHome?lnkce=sntDd&lnkctr=mhbwse" title="Browse">
<span class="w1">
<span class="w2">Browse DVDs</span>
</span>
</a>
</li>
Then, you can try
ui.Container(uid: "mbrhome", clocator: [tag: "body", id: "page-MemberHome"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){
Container(uid: "browse", clocator: [tag: "a", title: "Browse"], group: "true",, respond: ["click"]){
Span(uid: "browse", clocator: [tag: "span", text: "Browse DVDs"])
}
......
}
}
Let me know if this works for you.
Thanks,
JianOn Thu, Jul 16, 2009 at 11:20 PM, Jian Fang <john.ji...@gmail.com> wrote:
Seems some part is missing for the following section
Please post it again.
Thanks,
Jian
Hi John,
Thank u for the help... It still says element not found.
Here is the HTML again<div id="mainNavigation">
<ul id="primaryNav" class="navigation primaryNav clearfix">
<li id="bTab" class="navItem navItem-current"><a href="http://www.mysite.com/MemberHome?lnkce=sntDd&lnkctr=mhbwse" title="Browse DVDs">
<span class="w1"><span class="w2">Browse DVDs</span></span></a>
</li>
<li id="wnTab" class="navItem">
<a href="http://www.mysite.com/WiHome?lnkctr=mhWN&lnkce=sntWi" title="Watch movies instantly on your PC">
<span class="w1">
<span class="w2">Watch Instantly</span></span></a>
</li>
<li id="qTab" class="navItem">
<span class="w1"><span class="w2">Your Queue</span></span></a>
</div></li></ul>
I modified ur module def to this
ui.Container(uid: "mainnav", clocator: [tag: "div", id: "mainNavigation"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){
Container(uid: "browse", clocator: [tag: "a", title: "Browse DVDs"], group: "true", respond: ["click"]){
Span(uid: "browseDVDs", clocator: [tag: "span", text: "Browse DVDs"])......
}
}
}
click "mainnav.navbar.browse" did not work....
I tried this method and it seems to be working, only thing is if the order of the tabs changes then I have
re-write the instruction in the test case clicking on the tested tab...
ui.Container(uid: "mainnav", clocator:[ tag: "div",id:"mainNavigation"]){
List(uid:"navtabs",clocator:[tag:"ul",id:"primaryNav"],separator:"li"){
urlLink(uid:"all",clocator:[:]
}
}
click "mainnav.navtabs[3]"
did the trick. Now my only concern is if the order changes then what?
Regards,
Manoj
From: Jian Fang <john.ji...@gmail.com>
To: Manoj Chavan <manoj_...@yahoo.com>
Sent: Thursday, July 16, 2009 8:55:42 PM
Subject: Re: AOST - Beginner
Sorry, there was an extra "," for the Container "browser" in the last post, please remove it. Then, you can try
click "mbrhome.navbar.browse".
ui.Container(uid: "mbrhome", clocator: [tag: "body", id: "page-MemberHome"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){
Container(uid: "browse", clocator: [tag: "a", title: "Browse"], group: "true", respond: ["click"]){
Span(uid: "browseDVDs", clocator: [tag: "span", text: "Browse DVDs"])......
}
}
}
On Thu, Jul 16, 2009 at 11:52 PM, Jian Fang <john.ji...@gmail.com> wrote:
If each sub section likes the following,
<li>
<span class="w1">
<span class="w2">Browse DVDs</span>
</span>
</a>
</li>
Then, you can tryContainer(uid: "browse", clocator: [tag: "a", title: "Browse"], group: "true",, respond: ["click"]){
ui.Container(uid: "mbrhome", clocator: [tag: "body", id: "page-MemberHome"]){
Container(uid: "navbar", clocator: [tag: "ul", id: "primaryNav"]){......
Span(uid: "browse", clocator: [tag: "span", text: "Browse DVDs"])
}
}
}
Let me know if this works for you.
Thanks,
Jian
On Thu, Jul 16, 2009 at 11:20 PM, Jian Fang <john.ji...@gmail.com> wrote:
Seems some part is missing for the following section
Please post it again.
Thanks,
Jian