a;;b;c;;;d in this string output is abcd will come how can we
do that in vbscript in QTP testing?
Answer Posted / eswar
s = "a;;b;c;;;d"
For i=1 to len(s)
x = Mid(s,i,1)
If x <> ";" Then
y=y&x
End If
Next
MsgBox y
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which date function is used in the vbscript language to find the difference between the 2 dates?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
What is the main difference between function and sub-procedure?
Explain the extension .hta?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
What is the purpose of the err object in the vbscript language?
What are the valid scopes of a variable in vbscript?
How will you release the memory acquired by an array variable in vbscript?
How to pass argument by reference to a function in vbscript?
Mention characteristics of sub procedures?
how does vb script help in web page designing? explain with example.
about vb scripting programs this type of all question& answers
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..