Selenium to DevWeb Conversion

Publicado em: 16 Outubro 2020
no canal de: Chris Young
127
0

This video shows how you can use Micro Focus’ ProxyRecorder feature to convert Selenium scripts to DevWeb (Micro Focus’ new innovative and high-performance Load testing scripting language based upon JavaScript and Node.js). The same concepts could be used to convert other script types including JMeter JMX files, Gatling, or loadUI to DevWeb format. Performance will generally be much greater using a network-based protocol rather than instantiating a UI through Webdriver.

Where to download your FREE copy of DevWev for use with the LoadRunner family of products: https://marketplace.microfocus.com/ap...

Help guide for ProxyRecorder: https://admhelp.microfocus.com/truweb...
Command: {DEVWEB_PATH}\ProxyRecorder.exe {OUTPUT-HAR-PATH}

Help guide for OfflineGenerator: https://admhelp.microfocus.com/truweb...
Command: {DEVWEB_PATH}\OfflineGenerator.exe -mode=har -level=pages "{HAR-FILE-PATH}" "{OUTPUT-DIRECTORY}"

Tasks.json for VSCode: https://ideone.com/pHXxDh


Example JUnit Java Source code (for compiling to JAR): https://ideone.com/xzixNq
POM.xml (Maven; to match LoadRunnerCloud requirements): https://ideone.com/fbRWSy
See help here: https://admhelp.microfocus.com/srl/en...


DevWeb code for transaction timers:

let trans;
trans = new load.Transaction("OpenPage");
trans.start();
trans.stop();

Extractors syntax with assert:

extractors: [
new load.BoundaryExtractor("spanBoundary", "<span class=\"navigation_page\">", "</span>")
]
}).sendSync();
trans.stop((webResponse5.extractors.spanBoundary.trim()==’Authentication’)?load.TransactionStatus.Passed:load.TransactionStatus.Failed);


Nesta página do site você pode assistir ao vídeo on-line Selenium to DevWeb Conversion duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Chris Young 16 Outubro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 127 vezes e gostou 0 espectadores. Boa visualização!