Hai Guys,
can anybody show me how to write automaed test cases using
VB scprit(examples)...i had an interviw soon...please guyz
send as quickly as possible
Answer Posted / sfs
First one must decide which part should be automated.
Majority tell that no applic can be automated 100%.
Auto test plan should created.
Test cases should write.
First,should perform Manual testing. Based on manual
testing process, write vb auto scripts.
1.Record
2.Enhance script: write functions, divide actions into
reusable actions.
3.Run scripts
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a Function and Action in QTP?
How you will rate urself in QTP in the range of 0 to 5
What is parameter in qtp?
How to check bitmap output value?
How QTP identify the system time that's changes every seconds?
How does qtp identify objects in the application?
For which type of projects the iterative model is not suitable?
Will down time for server and content maintenance/upgrades be allowed? how much?
Do you know how to connect database? Can you tell me the procedures?
What is difference in global and action sheet in qtp?
Suppose I want fail that check point? How can you do that?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
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
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Why to use descriptive programming?