• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in QuickTest Professional (QTP) by
Q:

What are the loops available in UFT and what they do?

1 Answer

0 votes
by

There are 3 loops available in UFT

a)      Do…..Loop : Do Loop will run a block of statements repeatedly

b)      For…..Next : For Next Loop will execute a series of statements until a specific counter value

c)       For……Each : In order to execute a series of statements for each statements for each object in collection “For Each Loop” is used

While….Wend Loop : While Wend Loop is used to execute a series of statements as long as given condition is true

Related questions

0 votes
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
+1 vote
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
...