Script pass from rcptt but not from hudson [message #1718317] |
Tue, 22 December 2015 06:41  |
Eclipse User |
|
|
|
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!
[Updated on: Tue, 22 December 2015 07:56] by Moderator
|
|
|
|
|
|
|
Re: Script pass from rcptt but not from hudson [message #1806683 is a reply to message #1729121] |
Mon, 13 May 2019 15:13  |
Eclipse User |
|
|
|
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 15:15] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04449 seconds