QTP Script to Replace a word in a string with another word-Replace VBScript Function example-scripts in qtp-Replace function example-vbscript function

Dim b

b=Replace("QTP","P","T")

msgbox b


Output-QTT



Dim a,b

a="Software Testing"

b=Replace("Software Testing","Software","Manual")

msgbox b


Output-Manual Testing

No comments:

Related Posts Plugin for WordPress, Blogger...