Anonymous avatar Anonymous committed 225ed8f

cws:fs34b fix menu item count

Comments (0)

Files changed (1)

testautomation/dbaccess/required/includes/ReportBuilder01.inc

 
  'edit menu        
         
-        '/// check if there are 11 items in the edit menu.
-        printlog "check if there are 11 items in the edit menu."
+        '/// check if there are 14 items in the edit menu.
+        printlog "check if there are 14 items in the edit menu."
         ReportDesign.UseMenu 
         hMenuSelectNr(2)        
         iCount = hMenuItemGetCount()
-        if (iCount <> 11) then
-            warnlog "There should 11 items in the edit menu but there are " + iCount + " items."
+        if (iCount <> 14) then
+            warnlog "There should 14 items in the edit menu but there are " + iCount + " items."
         end if
         call hMenuClose()
 
 
  'insert menu        
         
-        '/// check if there are 3 items in the insert menu.
-        printlog "check if there are 3 items in the insert menu."
+        '/// check if there are 5 items in the insert menu.
+        printlog "check if there are 5 items in the insert menu."
         ReportDesign.UseMenu 
         hMenuSelectNr(4)        
         iCount = hMenuItemGetCount()
-        if (iCount <> 3) then
-            warnlog "There should 3 items in the insert menu but there are " + iCount + " items."
+        if (iCount <> 5) then
+            warnlog "There should 5 items in the insert menu but there are " + iCount + " items."
         end if
         call hMenuClose()
 
     Kontext "ReportDesign"
         ReportDesign.UseMenu            
         hMenuSelectNr(2)
-        hMenuSelectNr(11)
+        hMenuSelectNr(14)
        
     sleep(10)
     
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.