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
How will you get a subset of a array in vbscript?
What is the difference between a dictionary and an array?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
Explain the extension .hta?
Mention how you can call vbscript functions?
How to assign a date value to a variable?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
filter the array values without using filter function?
Which data type/types are supported by vbscript language and what are their specialties?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
Explain about the support of asp for vb script functionality?
How to Enter Values on the Command promt using VB script
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using