What does SPLIT and JOIN commands do in Vbscript?
Answer Posted / chaitu
Split function is builtin function in QTP
it helps us to divide the string at desired place in a
string
for Ex:-
a = "C:/programmfiles/chaitufolder/chaitanya.doc"
here i want to change the file name of .doc then we can use
x = Split(a,"/") then we will get like this
split function
msgbox x(0) 'it shows this C:
msgbox x(1) 'it shows this programmfiles
msgbox x(2) 'it shows thischaitufolder
msgbox x(3) 'it shows this chaitanya.doc
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
Explain different recording modes?
How to use parameterization in qtp?
How many types of status are there?
why should we give deliver good quality software?
after click on compose mail how can we attached a file in qtp with vbscript code
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
How to open a new test using quicktest professional (qtp)?
What is a Patch in QTP?
How to recognise the webelement and verifying that webelement is enabled?
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
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How can I change object description or check point values in qtp?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Explain runtime dynamic settings?