WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

In Selenium Server extension, loops not working #21

@apodhajsky

Description

@apodhajsky

hello,
i have a problem :
i'm trying to run tests writen in SeleniumIDE heavily dependend on SelBlocks (btw briliant work). But when i try to run them they do only 1 loop.

Firefox version: 33.0
Selenium version: 2.9.0
SelBlocks version: 2.1

cmd:
java -jar selenium-server-standalone-2.45.0.jar -port 5555 -firefoxProfileTemplate "full_path_to_template" -singlewindow -debug -log ./htmlsuit.log -htmlSuite "*firefox" "https://address.sk" "/full_path_to_suite/sel_block_test.html" "result.html" -user-extensions "/full_path_to/user-extensions.js"

result:

info: [selblocks] Applying testCase server patch for selblocks
info: Starting test /selenium-server/tests/for_loop_test
info: Executing: |for | i=0; i<=10; i++ | |
info: Executing: |getEval | LOG.info("${i}"); | |
info: script is: LOG.info("0");
info: 0
info: Executing: |endFor | | |
info: [selblocks] branch => @1: [for|i=0; i<=10; i++]
info: Starting test /selenium-server/tests/while_test
info: Executing: |store | 10 | k |
info: Executing: |while | ${k} >= 0 | |
info: Executing: |storeEval | "${k}"-1; | k |
info: script is: "10"-1;
info: Executing: |getEval | LOG.info("${k}"); | |
info: script is: LOG.info("9");
info: 9
info: Executing: |endWhile | | |
info: [selblocks] branch => @2: [while|10 >= 0]

as you can see, after 1st loop test finish

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions