1.can we parameterise object repository?how we can do it?
2.there is a name "mallikharjun".i want to get the vowels
in it through VBSCRIPT?

Answer Posted / rico

Made few updates to above code

str= "jack sparrow"
dim c

for i=1 to len(str)


If mid(str,i,1) = "a" or
mid(str,i,1) = "e" or
mid(str,i,1) = "i" or
mid(str,i,1) = "o" or
mid(str,i,1) = "u" or
mid(str,i,1) = "A" or
mid(str,i,1) = "E" or
mid(str,i,1) = "I" or
mid(str,i,1) = "O" or
mid(str,i,1) = "U" then
c=c+1

msgbox mid(str, i,1) "this is a" &c "Vowel"
else
end if
next

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data driver in qtp?

569


What is qtpro?

587


How to check which add-ins are associated with a test in qtp?

578


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1704


How to remove associated function library?

555






How do you synchronization point through DP?

593


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1468


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1534


what type of automation is follwed in the project?

1478


What are the major/ important methods, functions in QTP we use realtime testing

2259


How to use output values in qtp ?

550


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

1681


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1439


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1632


what is review

1608