Forum Discussion
HimanshuTayal
Community Hero
have you checked that your 1st Test Case got passed when you are running through Selenium, this might be the reason transactionID not getting stored in your TestSuite Level Custom Property. Check the response of your 1st Test Case whether it is getting passed or not.
By which way you are executing your soapui project from selenium?
durgapatro1
4 years agoNew Contributor
Yes First test case gets passed. We are using the soap ui binaries and other jars which are present inside class folder in the soap ui installation folder. We add them all to our project in eclipse and run the service from eclipse.
- nmrao4 years agoChampion Level 3It is difficult unless there are steps to reproduce for others.
- durgapatro14 years agoNew ContributorHere is the eclipse code
WsdlProject project=new WsdlProject("E:\\IAPI\\Automation\\BookingEngineAir-soapui-project.xml");
//Grab the Test suite in the project
WsdlTestSuite testsuite=project.getTestSuiteByName("TestSuite");
//Grab the testcases present in test suite
//for(int i=0;i<testsuite.getTestCaseCount();i++)
//{
// WsdlTestCase testCase =testsuite.getTestCaseAt(i);
WsdlTestCase testCase =testsuite.getTestCaseByName("LCC Domestic Oneway Direct Flight");
WsdlTestCaseRunner runner=testCase.run(new PropertiesMap(), false);
Related Content
Recent Discussions
- 6 days agoruchisingh