Script pass from rcptt but not from hudson [message #1718317] |
Tue, 22 December 2015 11:41 |
|
Hi everyone,
I come here with a new issue using RCPTT.
I wrote a script to test a feature of my AUT. To be more precise, this script create a report in my AUT (shown by BIRT) and click on a button to export it.
This script works very well if I run it from RCPTT, or via maven in my local machine or in the machine used by the continuous integration but if I run it from Hudson the script failed. I've tried to check, what's going on during the run in this particular case and if I look at the screen during the test it works !
I really don't understand what's the problem with my script.
This is the code where the error appears :
with [get-view $Report] {
with [get-control Browser | get-property text] {
contains "Error" | verify-false
contains "sql" | verify-false
}
get-button "Add report to project" | click
}
The exact error is : [INFO] Fail 14 (14) processed. 2 failed. spent: 22:16, 0:00 mins remaining. 19 - Check Reports Visualisation and Exports. time: 67469ms Cause: The Browser "[]" could not be found.
If anyone could help me on this particular problem, I will really appreciate.
Thanks per advance for any help!
Elise Ruelle
ALL4TEC
[Updated on: Tue, 22 December 2015 12:56] Report message to a moderator
|
|
|
Re: Script pass from rcptt but not from hudson [message #1719123 is a reply to message #1718317] |
Tue, 05 January 2016 13:57 |
|
Hi everyone,
Nobody has an idea about this issue ?
I've tried some others things, but it doesn't work. I've tried to explicitly specify the levels before the "get-control Browser", or try to wait before to select it but I always have the same result.
Thanks per advance for any idea or clue !
Elise Ruelle
ALL4TEC
|
|
|
|
|
Re: Script pass from rcptt but not from hudson [message #1729121 is a reply to message #1729120] |
Mon, 11 April 2016 10:59 |
|
Try this
<!-- RCPTT Maven Plugin and RCPTT Runner are hosted in this repository -->
<pluginRepositories>
<pluginRepository>
<id>rcptt-releases</id>
<name>RCPTT Maven repository</name>
<url>https://repo.eclipse.org/content/repositories/rcptt-releases/</url>
</pluginRepository>
<pluginRepository>
<id>rcptt-snapshots</id>
<name>RCPTT Maven Snapshots repository</name>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
<url>https://repo.eclipse.org/content/repositories/rcptt-snapshots/</url>
</pluginRepository>
</pluginRepositories>
<!--
If RCPTT tests are planned to be run on an update site,
RCPTT Maven Plugin can download Eclipse SDK of required version
for current platform from repository below (to see
an up-to-date list of available versions visit this link:
http://maven.xored.com/nexus/content/repositories/ci4rcptt-releases/org/eclipse/sdk/
-->
<properties>
<rcptt-maven-version>2.0.1</rcptt-maven-version>
</properties>
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
|
|
|
Re: Script pass from rcptt but not from hudson [message #1806683 is a reply to message #1729121] |
Mon, 13 May 2019 19:13 |
Ming Hu Messages: 3 Registered: June 2016 |
Junior Member |
|
|
Hi Elise/Francois,
We are using 2.0.0 rcptt and 2.0.1 rcptt runner, and we have observed the same issue here, test passed in rcptt IDE but failed in Jenkins. Or test passed in local maven run from DOS prompt, but failed in Jenkins.
I wonder if you have resolved this issue? Has the above suggestion from Angelo worked?
Thanks,
Ming
[Updated on: Mon, 13 May 2019 19:15] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03536 seconds