How to retrieve alpha bate from the alphanumeric string with
special character.
Answer Posted / audi7784
Str ="a0%n1@a2&n3)d4*h"
For intval=1 to Len(Str)
StrVal = Mid(Str,intval,1)
If isNumeric (StrVal) = True Then
StrNum = StrNum&StrVal
Else
StrChar = StrChar&StrVal
End If
Next
msgbox StrNum
msgbox StrChar
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What test cases can you automate using QTP?
what type of automation is follwed in the project?
What is the difference between run time object and test object?
Where we can use the analog mode and where we can use the low – level mode?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
How to remove the associated function library?
explain keyword driven framework with banking domain?
How to handle the exceptions using recovery secnario manager in quicktest professional?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
How to create Reusable and Multiple Actions?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
In qtp, explain what is qrs file?
How to analyzing test results using quicktest professional (qtp)?
Shall we add Local Repository to shared object repository,if yes,how we add
Explain about business process component? types and usage?