Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Impossible to valid a text on get-editbox -after [get-label Name] | set-text (get-editbox -after [get-label)
Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1715749] Wed, 25 November 2015 16:15 Go to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
Hi,

I try to use get-editbox -after [get-label and valid my text like

get-view "Editor Properties" | get-section Details | get-editbox -after [get-label Name] | set-text rf 


My text wasn't taken, I see him but it's not validate.

have you solution or other way?

thanks,

jeremie

Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1715786 is a reply to message #1715749] Thu, 26 November 2015 09:02 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jeremie,

Was this code automatically recorded by RCPTT or do you try to modify it manually?

Kind regards,
Ulyana.
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1715787 is a reply to message #1715786] Thu, 26 November 2015 09:07 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
HI Ulyana,

This code was automatically recorded by RCP TT but When I try to play again, it doesn't work.

I try to find alternative.

thanks .

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1715802 is a reply to message #1715787] Thu, 26 November 2015 11:08 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jeremie,

Could you please generate and attach HTML execution report and editbox widget details?

You can generate a report by clicking a corresponding button in Execution view.

Kind regards,
Ulyana.
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1715820 is a reply to message #1715802] Thu, 26 November 2015 12:46 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
you can find widget details following:

Widget information

Class: org.eclipse.swt.widgets.Text
			extends org.eclipse.swt.widgets.Scrollable, org.eclipse.swt.widgets.Control, org.eclipse.swt.widgets.Widget
			implements org.eclipse.swt.graphics.Drawable

WidgetID: Shell/Composite|5/Composite|0/Composite|1/Composite|0/PageBook|0/TabbedPropertyComposite|1/LayoutComposite|0/ScrolledComposite|1/LayoutComposite|0/LayoutComposite|0/LayoutComposite|0/LayoutComposite|0/CTabFolder|0/LayoutComposite|0/Section|0/LayoutComposite|2/Text|1
Style flags: 33572868 (Border)
Enabled: true
Focused: false
Visible: true
Reparentable: true
Text value: 

Registered event listeners:
		listener class: com.all4tec.ui.forms.widget.ExtendedTextWidget$1
			extends org.eclipse.swt.events.KeyAdapter
			implements org.eclipse.swt.events.KeyListener
			events: 
				SWT.KeyUp
				SWT.KeyDown
		listener class: org.eclipse.ui.forms.widgets.FormToolkit$VisibilityHandler
			extends org.eclipse.swt.events.FocusAdapter
			implements org.eclipse.swt.events.FocusListener
			events: 
				SWT.FocusIn
				SWT.FocusOut
		listener class: com.all4tec.ui.forms.widget.ExtendedTextWidget$2
			extends org.eclipse.swt.events.FocusAdapter
			implements org.eclipse.swt.events.FocusListener
			events: 
				SWT.FocusIn
				SWT.FocusOut
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1716422 is a reply to message #1715820] Thu, 03 December 2015 16:02 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi Ulyana,

I don't find a solution. have you idea?

thanks,

Jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1716458 is a reply to message #1716422] Fri, 04 December 2015 03:59 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jeremie,

Could you please also generate and attach HTML execution report?

Kind regards,
Ulyana.
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1716489 is a reply to message #1716458] Fri, 04 December 2015 10:47 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi Ulyana,

I did find where can i generate html report but I attach xml and rcptt report.

Say me if it's ok or not for you.

thanks,

jeremie

[Updated on: Fri, 04 December 2015 13:23]

Report message to a moderator

Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1717308 is a reply to message #1716489] Fri, 11 December 2015 14:18 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi ulyana,

I did'nt find solution, have you an idea?

thank,

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1728166 is a reply to message #1717308] Thu, 31 March 2016 13:32 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi,

no thing new?

thanks

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1728404 is a reply to message #1728166] Mon, 04 April 2016 08:38 Go to previous messageGo to next message
Rajesh Singh is currently offline Rajesh SinghFriend
Messages: 18
Registered: March 2016
Junior Member
I Think, we can first set focus to that edit box after that we can execute the command for set-text or type-text

below script will work, I having same problem, after after putting set focus it is working fine

get-view "Editor Properties" | get-section Details | get-editbox -after [get-label "Name"] | set-focus

get-view "Editor Properties" | get-section Details | get-editbox -after [get-label "Name"] | set-text rf

Regards
Rajesh


Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1728406 is a reply to message #1728404] Mon, 04 April 2016 08:42 Go to previous messageGo to next message
Rajesh Singh is currently offline Rajesh SinghFriend
Messages: 18
Registered: March 2016
Junior Member
Hi Jeremie

you can try below script, if this will help you.

get-menu "File/New/MaTeLo Project" | click
with [get-window "This wizard creates a new MaTeLo project (*.prt)."] {
get-editbox -after [get-label "Project name:"] | set-focus
wait 500
get-editbox -after [get-label "Project name:"] | set-text h
get-button Finish | click
}

Regards
Rajesh
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1732096 is a reply to message #1728406] Thu, 12 May 2016 14:39 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
HI Rajesh

Thanks for your answer but a problem isn' t for this part of my script.

I try your idea, it's not working. Sad

My script following:
with [get-view "Editor Properties" | get-section Details | get-editbox -after [get-label Name]] {
    set-focus
    wait 500
    set-text gh
    wait 500
    key-type Enter
    set-text gh
}


Have you a other idea?

thanks,

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1732602 is a reply to message #1732096] Wed, 18 May 2016 06:04 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi,

I just try with this 2 script but no solution.

If I do this code on mode debug, I haven't problem.

 
with [get-view "Editor Properties" | get-section Details | get-editbox -after [get-label Name]] {
     wait 3000
      type-text titi
        set-focus
  	key-type Enter
}





 with [get-view "Editor Properties" | get-section Details | get-editbox -after [get-label Name]] {
    wait 3000
    set-value "t"
    wait 3000
    set-focus
     wait 3000
     key-type Enter
}


Have you a other idea?

thanks,

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1735082 is a reply to message #1732602] Wed, 15 June 2016 12:00 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi ,

somebody have an idea ??

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1740801 is a reply to message #1735082] Thu, 18 August 2016 15:19 Go to previous messageGo to next message
jeremie gr is currently offline jeremie grFriend
Messages: 41
Registered: June 2015
Member
hi,

have you solution? Smile

thanks,

jeremie
Re: Impossible to valid a text on get-editbox -after [get-label Name] | set-text [message #1742102 is a reply to message #1715749] Wed, 31 August 2016 12:32 Go to previous message
Gabi Baba is currently offline Gabi BabaFriend
Messages: 2
Registered: August 2016
Junior Member
get-view "Editor Properties" | get-section Details | get-editbox -index 0(or 1,2 ,3 ,4 ) | set-text "Test"
Previous Topic:get-label when text has underscores?
Next Topic:Unable to Launch AUT with RCPTT
Goto Forum:
  


Current Time: Tue Apr 23 07:15:48 GMT 2024

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

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

Back to the top