when you use For Loop, While..do, do..while? at what
situations which loop will use.
Answer / satyanj
"For" loop can be used when the range of the iteration is
known. For ex: For i = 1 to 100....
"While..do" or "do..While" can be used when, the scenario
should satisfy the condition.
For Ex: While (<Condition>)...
Is This Answer Correct ? | 1 Yes | 0 No |
My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.
What is the difference between vbscript and vba?
Explain the constants in vbscript?
Is VB Script Case sensitive or Case insensitive?
Why to use option explicit in vb script?
Input = 124 output should be 124421 Please do not use any string functions/variables
can anyone tell me the procedure of interview held in applabs
What is the difference between do until loop and do while loop?
When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?
What are the 2 ways to pass a value to the function?
what is visual basic?
What are the different types of loops available in the vbscript language?