how to count the word "IS" is repeated in the application
using DP
Answer Posted / kis
str="mismismismis"
cnt=Split(str,"is")
Msgbox ubound(cnt)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between data driven testing and parameterization ?
How to recognise the webelement and verifying that webelement is enabled?
What are the 3 main stages involved in testing with qtp?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How do you check ticket cost and ticket number in flight application?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
What are private functions in QTP? How they can be called from the function library?
How do I get the QTP scripts result in xml format by using vb script function?
How did you use regular expressions in QTP and also in WR?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
In qtp, how you can remove the spaces from string?
What are the data types in qtp?
What is use of object spy?
Explain how you can replace string in qtp?