![]() Related Questions How to add a failure from a VBscript function to the results. how can I implement the functionality of checkpoint functionality from by VBScript. For Ex: I want to record a failure if some calculations evaluate to false. Read Answers (2) | Asked by : Ashok Latest Answer : Reusable actions: If we want to use actions across various tests in QTP, we mark it as a reusable action.Functions are part of the action, if we call a vbs in then we can use the functions in any test by including the settings -> resources. or ... Latest Answer : Hi,You can call the SPs in your DB, through VBScript.Here is the code:conStr="driver=sql server;server=servername;database=test;uid=sa;pwd=sa"Set cmdObj=createobject("adodb.command")Set recObj=createobject("adodb.recordset")With cmdObj .activeconnection=conStr .commandtype=4 .commandtext="SP_Insert_EMP" ... Read Answers (1) | Asked by : Hasan Procedure to write and run a vbscript file to test applications using QTP if possible please explain Procedure to write and run a vbscript file to test applications using QTP if possible please explain with an example thanks in advance Read Answers (2) | Asked by : kishore Latest Answer : Hi, 'Sample code for Connecting to SQL SERVER Data Base & Fetch the Data from Data Base using ... Can you completely write VBscript for your project without using recording mode in QTP? If yes, illustrate with an example? Latest Answer : Dim intCntDim oD, oDObj Set oD = Description.Create() oD("micclass").value = "Browser" Set oDObj = Desktop.ChildObject(oD) For intCnt = ... Write a VBscript for any functionality in your project ? Latest Answer : This gives lot of flixibility to us. In such cases just write the standard connection to the database through VBscript. That is the most popular and easy way to do it. You can find the code in lot of queries in this forum. ... Hi all,I am using vb script to run qtp scripts. code isSet qtApp= CreateObject("QuickTest.Application")qtApp.LaunchqtApp.Visible = FalseqtApp.Open "Path of the script"qtApp.test.runThis Do we need to know VBscript to start working on QTP? what are the steps need to be followed to become an expert in QTP? Please guide me... Latest Answer : In QTP, If you know about the concepts of QTP like Actions & seting, Prametaraization using (DataTable(global & Local), Environment & random value), chekpoints, output values, syncronization pts., To handle dynamic objects using Smart Identification ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||