Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
embedded if statements
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi folker,

There is a problem with syntax in ur code which is

Code:
Do Until oSnag.IsCaptureDone
Loop    
Set oSnag=Nothing
Set objShell=Nothing

====================
Below is the correct syntax of do loop...

Code:
Do { While | Until } condition
    [ statements ]
    [ Exit Do ]
    [ statements ]
Loop
-or-
Do
    [ statements ]
    [ Exit Do ]
    [ statements ]
Loop { While | Until } condition


Regards,
Ankesh


so ur code should be something like...

Code:
Do Until oSnag.IsCaptureDone
Set oSnag=Nothing
Set objShell=Nothing
Loop


I hope this will work.
Reply


Messages In This Thread
embedded if statements - by folker - 11-03-2011, 10:31 PM
RE: embedded if statements - by Ankesh - 11-04-2011, 11:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify controls embedded within WinListView cells Devesh Thakur 5 2,746 04-19-2018, 10:56 AM
Last Post: Devesh Thakur
  Embedded Text on webpage srach84 1 2,722 07-28-2014, 07:35 AM
Last Post: Ankur
  Retrieving default value from embedded webedit from webtable indranilgoswamimcb 1 3,119 01-12-2012, 02:47 PM
Last Post: sshukla12
  For loop after couple of If then else statements Mala 4 5,168 02-16-2011, 06:37 AM
Last Post: Mala
  Adding Conditional Statements in Keyword driven automation framework prachisharma76 0 3,822 09-14-2010, 11:00 AM
Last Post: prachisharma76

Forum Jump:


Users browsing this thread: 2 Guest(s)