Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Issue when replaying get-combo command
Issue when replaying get-combo command [message #1587727] Tue, 27 January 2015 14:22 Go to next message
Laurent Lemele is currently offline Laurent LemeleFriend
Messages: 2
Registered: January 2015
Junior Member
Hello,

I tried recording a test case including a get-combo command.
The recorded script seems alright.
get-combo -after [get-label "MyText :"] | select MyITEM

When replaying, the combo has the right element selected but after that, i have another button that is disabled.

The test stop on the disabled button error and If i select manually another item (and reselect the right item but it's not mandatory) in the combo, the button is then enabled.

I don't know if the appli is not reacting well or if RCP TT has an issue with combo selection.

I tried with the "set-value MyITEM" instead of "select MyITEM" but that doesn't change the result.
I tried adding a delay with the cmd: set-q7-option eclExecutionDelay 500 => same result.

Is there a known issue on combo selection ?
Or i really need to look in the appli code for the button enablement.

Thanks,
Laurent
Re: Issue when replaying get-combo command [message #1589529 is a reply to message #1587727] Wed, 28 January 2015 13:56 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Thank you for contacting us!
As I understand initially mentioned button is disabled and after selecting a value in combo it should be enabled, please correct me if I'm wrong.
Try to add wait 1000 after selecting item in combo:
get-combo -after [get-label "MyText :"] | select MyITEM
wait 1000

Please let me know if it helps.


Yours sincerely,
Olga.
Re: Issue when replaying get-combo command [message #1589552 is a reply to message #1589529] Wed, 28 January 2015 14:15 Go to previous messageGo to next message
Laurent Lemele is currently offline Laurent LemeleFriend
Messages: 2
Registered: January 2015
Junior Member
Hello,

Yes, button is disabled at first and should be enabled after choosing an item.
No, the wait cmd doesn't help.
I had try set-q7-option eclExecutionDelay 500 or 1000 also.

Thanks for the answer.
Laurent
Re: Issue when replaying get-combo command [message #1590780 is a reply to message #1589552] Thu, 29 January 2015 06:11 Go to previous message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

I'm sorry that you are still experiencing this problem.
It seems that changes in combo aren't applied.
Try to change cursor after selection in combo, eg click on some element in application, and then click the button.
Also, could you please attach widget details (how to get it) and snippet of source code of combo listener for the further investigation.


Yours sincerely,
Olga.
Previous Topic:[SOLVED] How get status of the "Show Properties Properties" button ?
Next Topic:[SOLVED] How do you validate the type of editor that was opened?
Goto Forum:
  


Current Time: Fri Apr 19 19:16:08 GMT 2024

Powered by FUDForum. Page generated in 0.04140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top