QTP Scripts and Selenium Webdriver Scripts

Qtp Scripts,Selenium scripts,Telugu Songs Lyrics,Latest Telugu Songs Lyrics,Selenium Webdriver scripts,Selenium examples,Quick Test Professional,Automation Testing,QTP,Quick Test Professional(QTP),Quick Test Pro,Descriptive Programming in QTP,DP,Testing Interview Questions,QTP Scripts,QTP Basic Scripts,Testing,Testing Resources,QTP Basics,QTP Beginners,QTP Blog,Selenium sample scripts,basics of selenium,basics of selenium webdriver

Popular Posts

  • VBScript to Get Cell Value of Particular Row and Column From ExcelSheet
    How to get data from a particular row and a particular column from Excel Sheet in QTP? Check This Post For Script To Get Cell Value of Parti...
  • QTP Script to get Excelsheet Rowcount and Columncount
    QTP Script To retrieve no.of columns and no.of rows in an excelsheet. In excelsheet we have values as shown below A B C 1 aa ll 2 bb aa 3 ...
  • QTP Script for connecting to database using SQL Server
    Check this link(script) for connecting to MS Access. QTP Script for connecting to database using MS Access Script for connecting to sqlserve...
  • QTP Script to create Excel Sheet and to enter data into it
    QTP Script to create Excel Sheet and to enter data into it(using script). To create Excel Sheet Set Excel=createObject("Excel.Applicati...
As Featured On Ezine Articles

Enter your email address:

Delivered by FeedBurner

Top Blogs

Useful Links

  • QTP Script for connecting database
  • Data Driven Testing
  • My Article in EzineArticles
  • Testing Material
  • Testing Faqs
  • Video for QTP Scripts

FAQS

  • Manual Testing Faqs
  • QTP Faqs
  • Winrunner Faqs
  • LoadRunner Faqs
  • SQLServer Faqs

Blog Archive

  • ►  2014 (12)
    • ►  January (12)
  • ►  2013 (45)
    • ►  November (4)
    • ►  October (19)
    • ►  September (17)
    • ►  March (2)
    • ►  February (3)
  • ▼  2012 (71)
    • ▼  October (5)
      • Qtp Script to find the number of occurences of a c...
      • qtp script to display string vertically-vb script ...
      • Qtp Script to add an image to excel sheet-Qtp Scri...
      • QTP Script to delete all the worksheets except for...
      • QTP Script to get name of all worksheets of an exc...
    • ►  September (39)
    • ►  August (27)
  • ►  2011 (22)
    • ►  July (1)
    • ►  June (21)
  • ►  2010 (1)
    • ►  January (1)
  • ►  2009 (13)
    • ►  May (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (6)
  • ►  2008 (51)
    • ►  December (5)
    • ►  November (3)
    • ►  August (2)
    • ►  July (3)
    • ►  June (5)
    • ►  May (7)
    • ►  April (10)
    • ►  March (12)
    • ►  February (1)
    • ►  January (3)
  • ►  2007 (11)
    • ►  December (8)
    • ►  November (3)
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Generic License.

Qtp Script to find the number of occurences of a char in a string-VB Script to find the number of occurences of a char in a string-QTP Scripts for beginners-VB Script


Qtp Script to find the number of occurences of a char in a string
 

str="hellllllllo all"

counter=0

For i=1 to len(str)

char=mid(str,i,1)

If char="l" Then

counter=counter+1

End If

Next

Msgbox counter

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
Related Posts Plugin for WordPress, Blogger...

  • Writing data to text file using selenium webdriver
  • How to extract number of links and text of links of a page using Selenium WebDriver
  • Handling Alerts or Popups using Selenium webdriver
  • Padesave Song Lyrics:Akhil Movie Songs Lyrics
  • Ramcharan's Bruce Lee Title Song Lyrics

Fun and Knowledge

↑

  • QTP Script to Count no. of Checkboxes in a Webpage
  • SQL Queries
  • Movie Songs
  • My Article in EzineArticles
Contact me

QTP Scripts

  • Connecting to Database
  • Datadriven using Excelsheet
  • Datadriven using Datatable
  • To Check all Checkboxes in a Webpage
  • Count Number of Links in a Webpage
  • Count of all open browsers and to close them