1.In VB Script 100 lines Script. How can check the Syntax
errors? 2. Write a VB Script for X =
India/Srilanka/Australia/England/South Africa.I need the
Output Country wise? [ 1st Msgbox India , 2nd Msgbox
Srilanka] ---- 3. How can Choose these test cases to be
automated?
Answer Posted / lakshmi
1.Information tab. It will display all syntax errors in the
script while moving from expert view to keyword view.
2.Dim str
str=Split(X,"/")
for i=0 to ubound(str)
msgbox str(i)
next
3.testcases which needs to be executed for each and every
build.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the use of sendkeys and what are send keys
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
What is debugging? How you debug your script?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
How you can make an action as re-usable action?
How to release all resources file from the QTP?
What is quicktest professional (qtp window?
Explain the check points in quicktest professional (qtp)?
What is post recovery scenario?
What are the advantages of qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How many types of recording modes in the qtp?
Can U Explain about QTP tool from older version to latest version also its differences?