what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?

Answer Posted / pravati

flag is a concept that will tell you a logical (true-false) state of something.
Exa--x=12
if x is a number then
flag=1
else
flag=0
means flag=1 means ur statement is true dn
flag=0 means ur statement is false.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1602


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1328


what is the diffrence bw qtp architectute and qtp framework?

1541


How is a Step generator used in UFT?

661


Is the qtp course will help to create a virtual object?

1516






What is Test Fusion Report in QTP?

622


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3279


How to remove the associated function library?

530


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1259


what QTP Options do you know?

2928


In qtp, how you can exit for loop?

527


diff between qtp versions from 8.5

1569


Explain advantages and disadvantages kdf?

527


What is the Command used to start the QTP

1533


What is qtpro?

597