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 |
In qtp, explain what is crypt object
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
Can we Script any test case with out having Object repository? or Using Object Repository is a must
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What are the types of data tables in qtp?
What is the syntax to call one script from another?
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.
in a web table , i want you to click a particular object inside cell
how to convert 100 into hundred repees only and viceversa