summaryrefslogtreecommitdiffstats
path: root/tests/testcases/testcase1/test-uninstall.qs
blob: c2d707fe14514fba11a892fb0a8279961a04e49e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function Controller()
{
    installer.autoRejectMessageBoxes
}


Controller.prototype.IntroductionPageCallback = function()
{
    gui.clickButton( buttons.NextButton )
}

Controller.prototype.ComponentSelectionPageCallback = function()
{
    var page = gui.pageWidgetByObjectName( "ComponentSelectionPage" )
    page.keepSelectedComponentsRB.setChecked( true )
    page.deselectComponent( "com.nokia.sdk.qt.gui" )
    page.deselectComponent( "hgrmpfl (non-existing package)" ) // bad case for component lookup
    page.selectComponent( "hgrmpfl2 (another non-existing package)" ) // bad case for component lookup
    gui.clickButton( buttons.NextButton )
}

Controller.prototype.ReadyForInstallationPageCallback = function()
{
    gui.clickButton( buttons.NextButton )
}

Controller.prototype.FinishedPageCallback = function()
{
    gui.clickButton( buttons.FinishButton )
}