How u call functions in QTP Function to calculate the
length of characters in a word -
Answers were Sorted based on User's Feedback
Answer / neeraj chauhan
Yes you were right, i did a mistake in passing arguments.
Now it will work correctly..
Dim Str
Str="We love Our India"
Strlength=len(Str)
msgbox Strlength
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / neeraj chauhan
Dim Str
Str="We love Our India"
Strlength=len("Str")
msgbox Strlength
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / billa
NNR,
Do not go so rude with Neeraj,after all Neeraj is only
helping us and if you know the right answer then before
pointing finger, post your answer also.
Billa
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sreeprasad
Function countChar(st)/*Vbscript Function
charLength = Length(st)
End Function
Assume above function countChar is written in VBscript, now
you are getting the text from the Application and calling
the Vbscript file and gets the length of the characters in
the word
Dim textValue
textValue= Browser("Browser Name").Page("Page Name").Frame
("mainFrame_5").WebElement("12").GetROProperty("innertext")
executefile "\*.*\countChar(textValue)" /*calling the
Vbscript file
textlength = charLength /*getting the text length
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nnr
hi neeraj chouhan,
Plz check it script before post
as per ur script it shows "3"
but it not a r8 ans
Is This Answer Correct ? | 0 Yes | 0 No |
Explain object spy in qtp.
in process of project exaplnation the defects are says frequently r not?
Will down time for server and content maintenance/upgrades be allowed? how much?
How to open a new test using QTP?
What is CMMP and CMMH?
What is User defined function in QTP
How to add a standard checkpoint in your test ?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
10 Answers Aspire, MNC, Omega,
HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
Hi cud you plz answer my question.. what is the size of Object Repository?
What is the use of text output value in quicktest professional (qtp)?