How to edit global time limit? [message #1701421] |
Mon, 13 July 2015 11:12 |
Jeevan Rex 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 #1701586 is a reply to message #1701585] |
Tue, 14 July 2015 09:43 |
Jeevan Rex 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03006 seconds