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
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
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
what is the diffrence bw qtp architectute and qtp framework?
How is a Step generator used in UFT?
Is the qtp course will help to create a virtual object?
What is Test Fusion Report in QTP?
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
How to remove the associated function library?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
what QTP Options do you know?
In qtp, how you can exit for loop?
diff between qtp versions from 8.5
Explain advantages and disadvantages kdf?
What is the Command used to start the QTP
What is qtpro?