UFT\QTP Learner
Thursday, 30 November 2017
Vbscript: Finding Unique Items from space separated string
str
=
"IBM CG CITI IBM CG"
arr
=
split
(
str,
" "
)
final
=
""
For
each
x
in
arr
If
instr
(
1
,final,x
)=
0
Then
final
=
final
&
" "
&
x
End
If
Next
msgbox
final '
IBM CG CITI
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Rest Assured Chectsheet
REST Assured Cheat Sheet 🚀 REST Assured Cheat Sheet Complete Reference for ...
WaitProperty Method with Regular Expression
Description Waits until the specified object property achieves the specified value or exceeds the specified timeout ...
Vbscript: Reading CSV file using ADODB
Option Explicit Dim adoCSVConnection, adoCSVRecordSet, strPathToTextfile Dim strCSVFile, k ' Specify path to CSV file. strPathToTextF...
QTP -Simple Program to navigate all the pages using Pagination link
Suppose there is thread in a forum and we wish to navigate all pages of the forum. Below code can be useful Thread url: http://www.indi...
No comments:
Post a Comment