a;;b;c;;;d in this string output is abcd will come how can we
do that in vbscript in QTP testing?
Answer Posted / sadashiva @ wipro
str="a;;b;c;;;d"
a=len(str)
for i=1 to a
b=replace(str,";","")
next
msgbox b
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is the use of QCUtil? explain with one example?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
What are the uses of vb script?
What is the event handling in vbscript?
Why is the use of exit do or exit for statements within loops discouraged?
Mention what is the difference between vbscript and vba?
Which operator is used to concatenate the 2 values in the vbscript language?
How will you get the exponent of the given number in vbscript?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
give me any information abou vb script books learn quckly
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
What are the rules to name variable in vbscript?
Mention characteristics of sub procedures?
Explain about scrrun.dll?