Contributions
Deleting Data in a TearDown Script
I am know usinf vers. 4.5.0. I need to use the test case TearDown script to remove data added to a database during the test case. I know this should be doable, but I am having trouble finding the information. Please let me know where if this can be done, and if so, where can I find the documentation for it? If it is not documented, please explain it to me. Bill Bachelder13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes1CommentFailing a Groovy Script Test Step
I am running a groovy script in one of my test step. When the groovy script runs, it runs to completion. If, however, the logic dictates that the step should fail, how would I fail the test step so that the test case would stop? Thanks, Bill B.13 years agoPlace ReadyAPI QuestionsReadyAPI Questions14KViews0likes11CommentsXPath functions in SoapUI
I am wanting to use one or more XPath functions in a test step. To use t6he functions in other environments, a namespace (usual, fn) is set up using http://www.w3.org/2005/xpath-functions as the source. Is there a way to get access to these functions for Soap-UI? Bill Bachelder13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes1CommentUsing SoapUI Parameters in an XPath Statement
I am using a Datasource test step with a datasource type of XML. I am trying to select specific children nodes predicated on a,SoapUI parameter (${PreviousStep#Field1}). When I code the Row and Column XPaths, they look like: Row = //Level1/Level2[Field1=${PreviousStep#Field1}]/Level3 Column = Field2 When this code is run, I receive an XPath syntax error. Is there a way to get this coding structure to work? If not, is there a method that will allow me to select which set of nodes to process. The input XML looks like: Level1 Level 2[1] Field1 = 1 Level3[1] Field2 = 1 Level3[2] Field2 = 2 Level3[3] Field2 = 3 Level 2[2] Field1 =2 Level3[1] Field2 = 1 Level3[2] Field2 = 4 Level 2[1] Field1 = 3 Level3[1] Field2 = 10 Level3[2] Field2 = 11 Level3[3] Field2 = 12 Level3[4] Field2 = 13 Please let me know if this is confusing. I will try to be clear. Thanks, Bill Bachelder13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes1CommentParametrizing database connectivity data
We are creating test steps that use Datasource or JDBC Requests. In the datasources, we use data connections to get data from a database. We would like to set up project-level parameters for the connectivity strings, and use them in the appropriate test steps. Can this be done? If so, how? Bill B.13 years agoPlace ReadyAPI QuestionsReadyAPI Questions921Views0likes1CommentMutiple datasinks in test case using one Excel workbook
I am using a single Excel file in order to capture data from multiple datasinks. Each datasink uses a different worksheet within the Excel file. The results: 1. the last datasink to run contains output data, 2. all others, are empty. When set up as different workbooks, all output data is present. Is what I am trying to do possible, if so how? Bill13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes5Comments