What type of VB script u had done in expert view?
Answer / sreeprasad
In Expert view we can use the VB keyword for scripting like
Function:
1).Mid Returns a specified number of characters from a
string.
2).Strcom Returns a value indicating the result of a string
comparison.
3).Instr Returns the position of the first occurrence of one
string within another.
4).Isdate Returns a Boolean value indicating whether an
expression can be converted to a date.
so many functions are there that you can use in the expert
view.
| Is This Answer Correct ? | 2 Yes | 0 No |
What are some test assets and related extensions of qtp?
How to handle dynamic objects in QTP?
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
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"
If the object property is changing very frequently, what was your approach?
I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?
Is it possible to return multiple values from a function..? Then how..?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
what are the disadvantages of qtp? can linux support qtp9.2? how could get web address throu vbscript?
what is the script to select 2 or more than 2 options from a listbox.
What is the difference between "call to action" and "call an existing action"
9 Answers Accenture, Yana Software,