Archive for July, 2010
Internet Explorer Operations used in QTP
July 13, 2010
Leave a comment
The Below code illustrate the Internet Explorer Operations
‘$Filename: clsIE.vbs
‘$Description: class consists various IE browser operations
‘$Author: Deep Routhu
Read more…
Categories: Quick Test Pro
QTP Connection to Access DB
July 11, 2010
Leave a comment
The below code illustrate the connection to Access Data Base.Here we are using the class concept as it helps us to organize the code.Class clsAccess‘ @HELP‘ @description: This class is defined to handle database operations.‘ @END
Categories: Quick Test Pro
Executing Soap ui from VBS file
July 11, 2010
Leave a comment
The below code illustrate to execute the the Soap UI project to execute.It executes all the test suites in the Soap UI Project‘Calls to the functionExecuteSoapUI “127.0.0.1”‘Function to execute the soap UI ProjectPublic Function ExecuteSoapUI(IPaddress)
Categories: Quick Test Pro
Load Properties from ini file
July 11, 2010
Leave a comment
The Example code below explains how do we get the ini file located in the system. Which get the properties and saves as global properties.def loadProperties(path){//Loads the file settings.inidef properties = new java.util.Properties();properties.load( new java.io.FileInputStream( “c:/settings.ini” ))return properties
Categories: SoapUI
TestCase and TestStep execution with Groovy…
July 9, 2010
6 comments
TestCase loopingfor( c in 0..5 )testRunner.runTestStepByName( “My Request” )
Categories: SoapUI
Assertions
July 9, 2010
Leave a comment
Name = values.getPropertyValue(“UserName”);UID = values.getPropertyValue(“UserID”); Read more…
Categories: SoapUI
Properties
July 9, 2010
Leave a comment
Properties
when creating a testsuite or a testcase it is required to send the properties from one step to another step for which there is an option of ‘Property Transfer’ in soap UI. Especially when you need to transfer the variable to multiple Steps there is a bit of overhead.
The Best practice is to send the properties to higher level and use them.
Categories: SoapUI