|RCPTT does not register that it has executed the command on RH7 [message #1775237]
|Thu, 26 October 2017 15:17
| keith davis
Registered: October 2017
I've been having issues at the moment with rcptt 2.0.1 with regards to graphical editors and NAT-Tables on Red Hat 7. I was able to write and record test cases on RCPTT with Red Hat 6 64 bit - however these two parts do not seem to register correctly with RCPTT on RH7. I've attached an image of the two GUI items - "Capture_1" & "Capture_2". RCPTT appears to execute the line correctly and bring the test case to the correct tab in the GEF, however it does not seem to understand that it has done so and appears to hang on the front end. Even if I manually bring the AUT to the preffered GEF editor and attempt to execute a line further down the script, the contexts do not execute until I close the editor down.
The initial line being executed that brings about the issue is: "get-tab-folder | get-tab-item Canvas | click". After this is executed, the GUI appears to be non responsive. Also, In order to restart my test case, I've to close the editor in which the GEF resides. Otherwise, none of the preliminary contexts are able to be executed before the test script upon restart.
The last while, it has seemed as though the 2.2 version of RCPT tool on RH7 does not support graphical editors (or Triquetrum editor) although I was under the impression that it did. The tool has the capability to do so on RH664, but since our regression hosts utilize the RH7 OS - the tests need to be compatible with it.
Things I've attempted to do to debug/fix the issue
- I updated the RCPTT version from 2.0.1 to 2.2.0 in the hopes that maybe RH7 may not have been supported back when 2.0.1 was built. Unfortunately the issue still crops up.
- I looked to add an SWT java exception breakpoint, but I could not find anything to do so within RCPTT (obviously because it is ECL and not Java I guess). Also - additional to this, nothing is actually spat out in the error log after executing the command that causes it to hang. I only appear to have error log information from before the event. I did initially think it may be helpful as some aspects of the error log echoed things like _________ , but this appears to be an identical set of errors that were occurring even on the RH664 machines (which were not affected by this hanging issue).
- I've added debug print outs to the log preceding and following the particular lines execution. Interestingly, although the GUI appears to hang, the script still appears to continue on past the line and through assertions and the likes. Whether or not they are actually executed - I'm not sure - I just know that the script has gone further in the code due to the fact that the logs have been noted.
As far as I'm aware, the newer versions of RCPTT are supposed to work with GEFs and NATTables so maybe I'm missing a plugin or something. Does anyone have any idea how to fix this issue in order to get the tool up and running? I'd be delighted with any help.
Thanks in advance
Powered by FUDForum
. Page generated in 0.01966 seconds