How u call functions in QTP Function to calculate the
length of characters in a wor
Answer Posted / dhanasekar
calculatelength("this is to test")
function calculatelength(string)
calculatelength = len(string)
End Function
Regards,
Dhanasekar S
http://testingideas.wordpress.com
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
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
What is Cross browser testing? Does UFT support it?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
banking project description for software tester
what type of automation is follwed in the project?
Can we create user defined functions in qtp?
unique properties of button,edit box, radio button,check box?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
What is Unicode Compatibility?
How to get Traceability matrix from TD?
Explain step generator in qtp?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
How do client side image and server side image work?