-
WebKing Crashes when running Static Analysis
WebKing 6.0.5 (service pack 9.1) automatically closes when running Static Analysis on an https://{servername}:22267/ type of web application. The analysis runs for a while, but does not complete and application crashes. Has anyone experienced this and what is the resolution. Alex alex.aslan@citi.com
-
Problem finding missing WAI-ARIA attributes using Webking 6.0.5 Servic
Hi, I am trying to find out all JSP pages that require "role, aria-*, ..etc" related attributes in my project. -------------------------- EX: (The following code should have aria-checked missing error..etc) <input id="form1:table1:4:table2:0:radio2" type="checkbox" name="form1:table1:4:table2:0:radio2"…
-
Strange Warning COPY_UNINIT_PTR
Using strerror(errno) in printf gives Warning Hi, we get a COPY_UNINIT_PTR warning for this piece of code: dprintf( ERRORS, "IDM -- Cannot create message queue [%s]. File %s. Key=%d\n", strerror(errno), datafile, msgkey ); The warning says: Copying uninitialized pointer: strerror(*__errno_location()) Stack trace where the…
-
Run a single test from command line
When we converted to Soatest 6.2 we chose to create our projects NOT under source control and to leave them in their original location. Now when i use the soatestcli.exe command it runs every .tst in my workspace even though i specify which test to run. My command looks like this -resource"C:\Documents and…
-
Web UI functional test mouse-over menu [Pre- 9.7]
Hi I would like to know if there is a specific way to enable object recognition/interaction with Ajax/JavaScript mouse-over menu's. SOATest is having problems with firing a click on a mouse-over menu with the default settings. Thanks in advance.
-
Any way to personalize report headings?
Need to add title to reportWe run the same tests in multiple environments and we often view the reports for each environment together. Its hard to keep track of which browser window goes with which environment. I've searched the documentation but can't figure out how to add anything to report to get a custom title out. The…
-
Find dynamically generated value in page
Hello, I am newbie in webking, looking help from you in one of case .. below is detail In my application, we have one data-entry page where user need to put the data, once he submit the date, application create on unique ID and display that id in form. I want to store that ID and in search form would like to use that Id,…
-
Subversion and SOAtest 6.2 integration
Hi I am trying to integrate Subversion with the SOATest 6.2. I am following the help under 'Team-Wide Deployment' that comes with the tool. While testing the integration i follw the steps as spefied below (from the documentation) To test the integration: 1. In the SOAtest environment, open a project that is checked out…
-
Getting PARSE_ERRORS in BOOST headers
If you are using Insure++ with a Microsoft C++ compiler and getting parse errors in BOOST header files that look like this: BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), BOOST_PRIVATE_CTR_DEF, _ ) or anything containing BOOST_FUNCTION_COMMA with or without BOOST_FUNCTION_PARMS Then you are…
-
BTS Importing from Test Director
Hi We have 9509 from the life of our project since 2005. Of this number there are approximately 800 not closed. Basedon the logs, the process read all bugs from Test Director however only translated a handful, around 30+. Is there an internal filter (built into the BTS process) which selects specific bugs to import?
-
How to pass an extracted value into a referenced test suite
This topic will describe the steps to pass an extracted value into a referenced test suite (which is unmodifiable within the scope of the current test due to being a reference). Assume you have two different tests/tst files (1 MainTest.tst, 1 ReferenceTest.tst) MainTest.tst looks like this: Test Scenario: -- Test 1:…
-
What does "Cannot create Java Virtual Machine" mean?
Cannot create Java Virtual MachineThe "Cannot create Java Virtual Machine" error message is due to the Operating System on the machine not being able to allocate the amount of memory requested by the JVM. This is not an issue isolated to SOAtest but an issue that can be reproduced across any standalone Java application…
-
Test Configuration - Scope Filters for static code analysis
How to filter specific packagesHi Is there a way to filter by package names (full or partial) so that the static analysis may focus on that set of classes?
-
Checking accessibility of colour in CSS
Is it possible to check the colour combination for font and background when the style is controlled by CSS. I need to scan a page and check if the colour difference and brightness meet the accessibility standards. like the report that can be produced by Jucie Studio…
-
BTS
Importing defeatsHi Are there more Test Director columns that can be specified for the defect element other than what was documented in the concerto admin guide? There are many other columns available howevr it appears that BTS settings file has specific element names and wondering if there are more. Is there a schema for…
-
JMS subscribtion only
Is there a way to consume (not sending) from JMS topic only?Hello, I have use case in my testing where I wish to subscribe to the JMS topic and consume messages. From the options avaliable I can find only possibility to send request with JMSReplayTo header and consume from the choosen topic. Is there a way to consume only…
-
Stop LoadTest when reaching max hit count
Hi, I need to run a load test that will run until the hit count reaches 50,000. I need to analyze how long it took to reach that count and the average response time during the duration. I tried looking everywhere in SOAtest, any clues? Also, is there a way to view transaction/hit count real time during testing? Maybe some…
-
Links to test file locations
Following the paragraph "Executing Existing CppUnit Test Cases" from the C++_userguide I added test files into tests subdirectory of my project. The "Test suite file search patterns" is set to "${project_loc}/tests/*". The problem is that files in the tests directory which are linked to somewhere else are not executed.…
-
Running test executable on target device
Hello All, I have created a simple c application and test cases for that. Now i want to build test executable for that and run it on another machine through TCP/IP communication. Can anyone help me out with that as I am not able to generate test executable. Thanks
-
Information on project_loc variable
I am running VS 2008 with the integrated C++Test. Sometime when I run C++Test everything is fine, but other times, I have to remove the ${project_loc} and replace it with a hardcoded path. How and where is project_loc defined within C++Test? Not sure why it is getting overwritten or why C++Test can not recognize the…
-
Check Links use image title or longdesc instead src
Strange behavior from check links tools. On following URL : http://www.schneider-electric.com.mx/mexic.../centro_qox.xml Check links tools find 6 broken links (404 error). Let see one of them : <img title="QOX-3" alt="QOX-3" src="/images/pictures/newsletter/12dic09/1209_05_QOX-3.jpg" border="0" longdesc="QOX-3" /> The…
-
Webking reports from command line don't use UTF8
Hi, I have to scan some chinese or russian sites. To report pages' title, I've created my own rule with the following Javascript code : function ReportTitle(node, context) { var RuleContext = Packages.com.parasoft.api.RuleContext ; RuleContext = context ; RuleContext.report(node.toString()) ; return 1 ; } Then, when I…
-
Web application testing (RIA, AJAX, ...) now in SOAtest and Load Test
Parasoft's web application testing capabilities are now available with Parasoft SOAtest and Parasoft Load Test. To learn about our current web testing capabilities, see the web application testing (RIA, AJAX, ...) page and the Functional and Load Test Solution page.
-
Code Coverage other than Line Coverage
Is there an option in the parameter file that will allow for the running the code coverage to be something other than "Line Coverage", for example "Modified Condition/Decision Coverage"? If so what is the option? When running the unit tests can you have one pass of the unit tests report on all the types of coverage or do…
-
SOAP Message size it greater than allowed limit
Where is this error coming from?I'm trying to help a colleague run SOATest on a WCF web service operation, and for "big" responses, we are seeing this error in the SOATest client: SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0] This is perplexing, as the tool is actually able to get a response from…
-
Browser Data Bank -> Output
View and save extracted valuesI'm running a Web test and at the end of it I extract a value to a Browser Data Bank (Browser Content->Browser Data Bank). How can I: 1) Inspect the data bank. i.e. view the extracted values 2) Write the extracted values to a file. Thanks, Amela
-
How to run LoadTest from an Ant Script
It is very similar to running Load Test from the command line. 1) Open Load Test and go to Help > Documentation > Load Test Command Line Interface (cli) -- Follow the directions to create a script that calls the .lt file and provides specific parameters for a scenario similar to this one: CODE# # Load Test Script Commands…
-
How to Initiate LoadTest Using an ANT Script
I read the forum topic "How to run SOAtest from an Ant script" and in the similar way I tried initiating the loadtest using Ant Script. But it is not working. This is how I tried : **************** <project> <target name="TARGET_NAME"> <exec executable="c:\Progra~1\Parasoft\Load Test\6.1\lt.exe"> <arg value="-cmd"/> <arg…
-
Requirements Tracking?
What is Requirements Tracking for?Does anyone know that the Requirements Tracking panel is for in SOATest 6.1 Test Suites? Can you give some examples how and why to use it? Thanks, gozer
-
Record tab key in web browser testing
Here are the instructions to capture TAB key in web browser testing 1) Close SOAtest if it's open 2) There are two copies of UserCustomizableOptions.js files - one for IE and one for Firefox - located under <SOAtest Installation Directory>/plugins/com.parasoft.xtest.libs.web_VERSION#/root/browsers/ie <SOAtest Installation…
-
Record double click action in SOAtest [Pre- 9.7]
Here are the instructions to capture double quick action in SOAtest 1) Close SOAtest if it's open 2) There are two copies of UserCusomizableOptions.js files (One for IE and one for Firefox) located under <SOAtest Installation Directory>/plugins/com.parasoft.xtest.libs.web_VERSION#/root/browsers/ie <SOAtest Installation…
-
How to solve errors when running the VAPI-XP test script
in HP Quality Center.The following errors may happen when running the VAPI-XP test script in HP Quality Center. 1.) "Automation server can't create object" Make sure you have installed the Microsoft SOAP Toolkit SDK as explained in the SOAtest User's Guide. The installer can be found on the Quality Center install disk. The…
-
Linux: How to run SOAtest with a different JRE/JDK
If using SOAtest 6.x/9.x (linux,solaris,windows) you can do this by passing a "-Zjava_home" {path_to_jdk} command line argument (however SOAtest 6.2 does already ship with Java 6, SOATest 9.x ships with Java 7, and SOAtest 9.10 ships with Java 8 [edited]) *** For SOAtest 5.5.3 and earlier 1.To setup and start SOAtest,…
-
Custom report that display individual tests
Has anyone written a custom report for SOATest 6.1 that displays the individual tests within a test suite rather than just the summary info (Num tests, percent pass, Success, Failure) that the default report in SOATest produces? Thanks - Hugh
-
Executing Rest Test Cases
WebservicesHi Can someone guide me on how to Execute a Rest Webservice via SOATest. All i am trying to test the current webservices return a json reponse based on the site requested Many Thanks in Advance. Regards Kadaparthi
-
Keep alive connection/Close Connection
Hello, during our test with SOAtest 5.5.3 the SOAP-Client throws following error message from time to time (not predictable nor repeatable): "Software caused connection abort: socket write error". Our test-scenario consists of the following test: Test 1 -> Python-Method for creating a unique message-id Test 2 -> SOAP…
-
Subversive Add-in for SOAtest/Eclipse
Hi, I am trying to get the Subversive add-in running in our environment (SOAtest 6.1) and I am having trouble adding a repository. I installed the checked item (Subversive SVN Team Provider) in the image below and I am not sure if I need to install anything additional. I used the Eclipse Software Updates and Add-ons…
-
How to access a window or frame's document
when chaining an extension tool to a browser testing toolThese examples are intended for use when chaining an Extension tool to a Browser Testing Tool, used in a Web Functional Test. getDocument is overloaded as follows: CODEgetDocument(); // gets the document for the main window getDocument(String windowName); // gets the…
-
Web Service API - Execute specific tests
Hi, I am looking into using the Web Service API to execute tests from Quality Center. I know that you can set the additionalArgs value so that it only executes specific tests within the suite but this is only available when useWebService is false. Is there a way to do this when using the web service? // Passes additional…
-
Add the active environment to my test
I would like to know how to tell to my navigate step to get the active environment. Since I have 3 environments were I like to run the same test. Like www.certifiactionserver.com www.productionserver.com www.stagingserver.com the main idea is run the same test over these 3 environments, since my test was recorder from a…
-
Validate the results from SOAtest automatically?
is there any way to read the responses and validate the fields?Hi, I have a bunch of tests created in the SOATest, I was kind of wondering if there any way to read the values in the responses and validate them automatically. In other words can I automate the whole process of the following testing example: -> Already…
-
Quality Center VAPI-XP Test Execution
Hi, I am trying to execute a test from QC using the VAPI script provided in the examples folder and am getting the following output/errors: Output: startTestExecution: <ns2:startTestExecutionResponse xmlns:ns2="http://www.parasoft.com/ns/schema/soatest.xsd"><pid>22037933</pid></ns2:startTestExecutionResponse> pid: 22037933…
-
Verify Response against Database
Hi, Is there a way to take an element from a request and validate it against a database? Example: Input has Archive_id = 099999 I would like to take this value from the request and query the results from the response against the values in the database. I am not sure how to go about this. I have read some threads about DB…
-
Saving output from JavaScript
I found some JavaScript that will give me the IP Address of the local machine where I am running tests and this code works quite nicely. CODE function GetIPAddress(input, context) { var ip = java.net.InetAddress.getLocalHost(); var ipStr = new java.lang.String(ip.getHostAddress()); return (ipStr); } The problem is that I…
-
Can Quality Center display multiple responses?
Hi, I am running a Test Suite where I have a parametrized data set running 153 test cases but only 1 Test Case setup in SOA Test. So although I am technically running 153 test cases, the results only show 1 result in Quality Center. I was wondering if there is a way to have QC show the results for each parametrized test…
-
Piecing together SOAP requests
We need to piece together some SOAP messages using the SOAP Client and I'm looking for suggestions on how to approach it in SOATest 6.1. Assumptions: - The SOAP Header comes from an Excel Data Source for each request. - For some tests, the SOAP Body may be completely stored in a cell in the XLS file. This seems to work ok…
-
Form Input XML and Literal XML
I seem to be having an issue switching between request input types using the SOAPClient in SOATest 6.1. I pasted some XML into the Literal XML window. When I switch to Form XML view, it asks if I want to override values in Form XML view with values from Literal XML. That is good. However, it does not do this when switching…
-
Assert Value against database
Hi, I would like to know using SOATEST 5.5 how can I assert that the value returend in a SOAP/XML response from my webservice is the same as in the DB. Thanks in advance
-
Callback tool needs to ignore failure
Hi, I'm trying to use the callback tool to dequeue messages from a JMS queue in a loop (using a test suite as the looping mechanism). Once the queue is empty, the callback tool reports a failure. Is there a way to mask the failure so that the step continues to report success?
-
Rule wizard
Hi. What does the Rules feature do? I was trying to rules with the rule wizard, but I don't know how it is used for SOATest. Are there examples for nonGUI tests (e.g. SOAP tests) that I can run? THanks.