How u call functions in QTP Function to calculate the
length of characters in a wor
Answers were Sorted based on User's Feedback
Answer / alok
Please use the following steps:
str="QTP"
A=len(str)
msgbox A
o/p
3
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
How to parameterize Object Repository?
What is the current version of QTP?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
How to handle the exceptions using recovery secnario manager in quicktest professional?
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
How to export data present in Datatable to an ".xls" file?
what are the environment variables,how do you use them. give an example.
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?
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
Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test
I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code
What is standalone database?