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 |
When you open QTP, how many sheets you can see?
What are the common defects found in your project? (in qtp interview)
Explain the parameter in qtp?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What is quick test pro?
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?
What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.
Explain the Keyword View ?
how will check the links in multiple pages at a time
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....