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 CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif
What is the ur roles and responsibilities as automation testing engineer?
Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"
How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.
I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
How does you pass optional arguments in qtp?
What phases are involved in testing an application in qtp?
How to get the column count and column name from the resultset in the database connection program?
get the order no from the following orderdetails orderstring="ORD13456PNR" eg:13456
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Does quicktest professional (qtp) is unicode compatible?