August 2023
New features
GDSL for iOS :
Add new commands swipeVertical and swipeHorizontal which use percentage of screen size
GDSL for android :
Can use OTP with disposable mail address and api. More documentation https://greenspectorstudio.atlassian.net/wiki/pages/createpage.action?spaceKey=DOCUMENTATION&title=Authentication
Add new commands
assertNotExistsText
,assertNotExistsTextExact
,assertNotExistsId
,assertNotExistsClass
to test the existance of a text, a description, an id or a class. You can used this command to check view state before doing another GDSL action.Add optional parameter percX for commands
swipeUpwardToText
andswipeDownwardToText
. With this, you can search for text by swiping your finger to the side of the screen.
Improvements
GSDL for android :
Remove “by” in all commands of type “waitUntilBy”.
waitUntilByTextBeforeClick
becomeswaitUntilTextBeforeClick
. Backwards compatibility is maintained.Improve documentation of 'waitUntil' commands by specifying default timeout
Environmental footprint assessment CLI :
Simplify sub commands replacing
getFootprintsFromApp
bydefault
andgetCustomMultipleFootprints
bycustom
. If you use default sub command, you can use the template input_default.csv in modules pages. If you want to configure your system infrastructure to make a more accurate projection, you can use the custom command and use the input_custom.csv template in the module page
Dashboard Campaign :
On bar graph chart, a click in blank part display standard deviation instead of value.
On bar graph chart, a click on the bar hide the bar
On mobile data bar graph chart, when displayed in MB, use two digits to round data and change the round for small values around 0.
Fixed bugs
TestRunner, Power Test Bench :
When running test on mobile network, fixes the switch of network mode for some devices supporting 5G and using a list of five network mode
GDSL for android :
Fixes command
openSettingsMenuWithName
for android 10+Fixes close All Tabs error which may occured using chrome commands like
browserClearCache
,browserCloseAllTabs
,browserReset
,browserPrepareAndOpen
,browserCloseAllTabsAndOpen
,browserPrepareAndOpenForReference
Fixes
browserReset
command on devices which have a chrome with default google pageFixes
browserReset
command on emulatorFixes
browserReset
command for tablet by handling new popup to select default browserFixes
enableDisplaySiteAsDesktop
anddisableDisplaySiteAsDesktop
commands for tablet in landscape modeFixes commands
setLandscapeOrientation
andsetPortraitOrientation
Dashboard Campaign :
Fixes the support of last version (0.12.6) of wkhtmltopdf to display pictures in generated pdf.
Documentation
Improves emulator documentation by adding prerequisites for windows user and by adding new device examples https://greenspector.atlassian.net/l/cp/e0fErNiA