Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » How to edit global time limit?
How to edit global time limit? [message #1701421] Mon, 13 July 2015 11:12 Go to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
I have this following test case:

get-menu "Help/Install New Software..." | click
with [get-window Install] {
    get-link "Find more software by working with the <a>\"Available Software Sites\"</a> preferences." | click-link
    with [get-window Preferences] {
        get-editbox -after [get-label "Available Software Sites"] | set-focus
        get-button "Add..." | click
        with [get-window "Add Site"] {
            with [get-editbox -after [get-label "Location:"]] {
                set-text $edk
            }
            get-button OK | click
        }
        get-button OK | click
    }
    get-button "Add..." | click
    with [get-window "Add Repository"] {
        with [get-editbox -after [get-label "Location:"]] {
            set-text $p2DataApp
        }
        get-button OK | click
    }
    get-button "Select All" | click
    get-button "Next >" | click
}
// Delay observed to be 02:08 
get-window Install | get-tree | get-item "DataApp Feature" | get-property caption | equals "DataApp Feature" 
    | verify-true
with [get-window Install] {
	get-tree | select "DataApp Feature"
    get-button "Next >" | click
    get-button "I accept the terms of the license agreement" | click
    get-button Finish | click
}
// Delay observed to be 02:15 
wait 180000 // Failing while this wait and background is getting processed
// Adding Delay of 3 minutes which is 180000 milliseconds
get-window "Security Warning" | get-button OK | click
get-window "Software Updates" | get-button Yes | click
wait-until-eclipse-is-ready
get-menu "File/New..." | click
get-window New | get-tree | get-item DataApp | get-property caption | equals DataApp | verify-true
get-window New | get-button Cancel | click
get-about-menu | click
get-window "About MyApp" | get-button "Installation Details" | click
get-window "About MyApp" | get-window "MyApp Installation Details" | get-tree | get-item "DataApp Feature" 
    | get-property caption | equals "DataApp Feature" | verify-true
with [get-window "About MyApp" | get-window "MyApp Installation Details"] {
    get-tree | select "DataApp Feature"
    get-button "Uninstall..." | click
}
get-window Uninstall | get-button Finish | click
get-window "Software Updates" | get-button Yes | click
wait-until-eclipse-is-ready
get-menu "File/New..." | click
get-window New | get-tree | get-item DataApp | get-property caption | equals DataApp | verify-false
get-window New | get-button Cancel | click


It might take more than 15 minutes to run. But whenever I try to run it, it says
"Execution timed out after 300 seconds"

How do I overthrow this exception? Kindly help in the earliest possible.

I have attached screenshot of Execution View. PFA.

Thank you
Jeevan
  • Attachment: Untitled.png
    (Size: 14.26KB, Downloaded 95 times)

[Updated on: Mon, 13 July 2015 11:17]

Report message to a moderator

Re: How to edit global time limit? [message #1701582 is a reply to message #1701421] Tue, 14 July 2015 09:15 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Find Launch timeout (sec) setting in Window->Preferences->RCP Testing Tool
Other Runtime limits you can also find in the mentioned window.

Please let me know if you have any questions.


Yours sincerely,
Olga.
Re: How to edit global time limit? [message #1701585 is a reply to message #1701582] Tue, 14 July 2015 09:40 Go to previous messageGo to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Thanks Olga.

[Updated on: Tue, 14 July 2015 09:46]

Report message to a moderator

Re: How to edit global time limit? [message #1701586 is a reply to message #1701585] Tue, 14 July 2015 09:43 Go to previous messageGo to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Thanks Olga.

I found one more thing, the following portion of ECL from the one above mentioned
wait-until-eclipse-is-ready
get-menu "File/New..." | click

is failing at unable to find menu. This is because, it is trying to find the Menu before my AUT properly restarts. I tried with a simple ECL with restart feature that works. But after installing a new software and restarting, it is not waiting as much as required. Same is noticed while I switch workspace. Why is this appearing?

Let me know how to solve this.

Thanks
Jeevan

[Updated on: Tue, 14 July 2015 09:44]

Report message to a moderator

Re: How to edit global time limit? [message #1701595 is a reply to message #1701586] Tue, 14 July 2015 10:47 Go to previous message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
We can close this topic, I have created a new one for this condition here: https://www.eclipse.org/forums/index.php/t/1068416/
Previous Topic:RRCPT does not add the URL (update sites) when run the AUT.
Next Topic:wait-until-eclipse-is-ready isn't waiting properly in some scenario
Goto Forum:
  


Current Time: Fri Apr 19 23:47:42 GMT 2024

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

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

Back to the top