Project

General

Profile

Bug #1250

Example script incorrect for usage of repair facilities & cannot accept confirmation modal

Added by Stealthy about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
vbulletin_issue_id:

Description

This is in reference to the example script on issue: https://forge.isxgames.com/issues/1174

This is how the example script accepts the repair confirmation:

EVEWindow[byName,"modal"]:ClickButtonYes

This is incorrect - there is no modal window at this stage. This is the dump from the ISXEVE EVE_GetEVEWindows testcase for the modal that pops up, confirmed by closing the modal and testing again:

    LSTypeIterator: Members of datatype "evewindow", instance "TestIterator.Value"
      TestIterator.Value.Capacity     == -1.000000
      TestIterator.Value.Caption      == Set Quantity
      TestIterator.Value.HTML         == NULL
      TestIterator.Value.ItemID       == -1
      TestIterator.Value.Minimized    == FALSE
      TestIterator.Value.Name         == Set Quantity
      TestIterator.Value.Text         == NULL
      TestIterator.Value.UsedCapacity == -1.000000
      TestIterator.Value Iteration Time == 0.000000 seconds

Additionally, there doesn't seem to be a way to successfully accept that modal window.

ClickButtonCancel, ClickButtonClose, ClickButtonNo, ClickButtonOK, and ClickButtonYes all close the window.

ClickButtonOK causes a brief flash / refresh of the "Pick New Item" and "Repair All" buttons on the Repairshop window but doesn't seem to actually trigger the repair - wallet balance is unchanged.

The "Set Quantity" dialog has "OK" and "Cancel" buttons, no X in the top right.


Files

TestRepairShopWindow.iss (2.37 KB) Amadeus, 2014-10-24 01:07 AM

Also available in: Atom PDF