can u write Script to do Data Driven Testing throuh
Externel & internel XL Sheet
Answer Posted / rohit sharma
Ya, we can do it..
Following are the commands you can use to add, import,
export sheet to QTP.
datatable.AddSheet(sheet)
datatable.ExportSheet(filename, sourcesheet)
datatable.ImportSheet(filename, sourcesheet, destinationsheet)
Rohit Sharma
er.s.rohit@gmail.com
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
can anyone tell me from where i can download qtp demo or crack version
How do you delete unwanted results in qtp?
What are the different types of action?
How can I check if a environment variable exist or not?
What are private functions in QTP? How they can be called from the function library?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
How to use checkpoints in qtp ?
How many types of run modes are there in qtp?
How to use setroproperty?
banking project description for software tester
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
What is synchronization point in QTP?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
What is difference between shared and local object repository?
How many types of actions are there in quicktest professional?