The most recent content from our members.
<div id="moe-osm-pusher" style="display: block !important; height: 0px;"> <div><p>A44</p></div></div><div id="x"> <p>A</p> <div> <div> <p>A11</p> </div> <div> <p>A12</p> <div> <p>A13</p> </div> <div> <p>A23</p> <div><p>A00</p></div> </div> </div> <div> <p>A22</p> </div> </div> </div> //div[p[contains(text(),'A23')]]//…
Hello everyone, Can someone help me how to validate a field, if the value returned in response in unique and contains no duplication. E,g: In below JSON, id field occurs multiple times, I want to validate "id" is unique and it's not duplicated in the JSON response. { "merchantCategories": [{ "id": "0001", "description":…
I've simplified my actual JSON response from my traffic viewer to make this example easier. Let's say I want to add assertions to validate that the first number returned is 111 and the second number is 222 (they are strings). I added a JSON Assertor but the only element that shows up is "root", so I tried manually editing…
I have a request i.e. "crn":"234567890123456","amount":"200","settlementDate":"20091224", and a responder using a data source correlation of several response. And the response is to send the responseCode by validating the "amount" [<250] or [>250]. When I send a request via a Parasoft Virtualize .pva file the event…
In my scenario , I am getting different number of elements which depends upon data I am passing in request and I want specific set of element. I have added "IF" condition for the same and I am getting expected element and now I want to iterate this "IF" condition for this set of elements.
I am trying to validate an application webpage in SOATest. This test needs to validate that a particular column in a table to empty. Unfortunately, SOATest will either pass the test when there is a value in the column or complain that the XPath locator in wrong. In an earlier test I validated that there was a value in the…
I have a number of p elements in a div and I want to find a certain text within all of them. For some reason I can't get it to work, it finds only the first p element. Does any one know what to use differently? Element property: I've tried both text and value here (with and without [1] ) Xpath:…
I am trying to get a part of a string up to the point where there is a blank space in the string. However, Virtualize is saying that it does not recognize what the .indexOf() function is. Can someone guide me as to what could be the issue and how to get the sub-string properly in Virtualize? The XPath code is am trying to…
I was asserting on the below response against my database value which is supposed to be Response from the service for scoreDate: 2017-03-16T12:45:25-04:00 Database value for scoreDate: 2017-03-16 12:45:25 (Expected value) I am passing the List name as a parameter from my Datasource excel sheet('ExpectedIPList' column). So…
I have a JSON response with following structure which is dynamic. I want to extract the account balance to a data bank of specific person eg:John "Details" : [ { "AccountBalance" : "6793", "Person" : "John" }, { "AccountBalance" : "3646", "Person" : "Peter"
It looks like you're new here. Sign in or register to get started.