The most recent content from our members.
Hi, I'm trying to access values inside of a data repository on a Message Responder script. I have "use data source" checkbox checked. Code Below: import com.parasoft.api.*;def messageResponderResponse(context) { String dataRepoVal = context.getValue("root Data 2","AccountNumber"); Application.showMessage("DEBUG VALUE: " +…
I want to check text from an element that is inside another element. So I want to verify that text form div class="alert" is the correct one. But selecting this div from the validation tool does not work. My first though was to extract the text using javascript. So * Element locator = Use script * Language = Javascript…
This script will enable you to create and deploy an asset dynamically. This is useful when you want to create an asset on the fly. This uses the SOAVirt API. #Server SettingsVIRT_USER=adminVIRT_PASS=adminVIRT_HOST=localhostVIRT_PORT=9080#Workspace…
var scenario = "Steady Load" var base = tests/loadtester/accuracytest/tests var category = Accuracy var test-name = 1-Profile-HPS open ${base}/${test-name}.lt loadtest -minutes ${minutes} -allReports ${report-home}/%d/${category}/${test-name} ${scenario} Does parasoft loadtest works with shell script? Is anyone develop…
I am using the following Jython script to read and then update a value from a text file on my local pc, but need to be able to use a relative path to identify the file in both line 7 and 14. I have verified my PROJECT_LOC variable is: "C:/Users//File/Path/To/Workspace/Project". Any help is appreciated. Works Locally but…
I need to call a executable that requires entering a password manually after it is executed. What I want to do is use the external tool to pass in 2 parameters which one of them is the value the executable prompts. I need this to run automatically by entering the password automatically. Has anyone done this type of…
This is a simple script that will allow us to update the Continuous Testing Platform when a new WAR is released SET CTP_LOCATION=C:\parasoft\CTPSET UPDATE_FOLDER=c:\parasoft\update\CTPbackupsSET NEW_CTP_WAR=C:\Downloads\em.warREM Adjust path to 7Zip program as needed belowset THE_ZIP="c:\program files\7-zip\7z.exe"echo…
It looks like you're new here. Sign in or register to get started.