Can any one give me some basic VB script used in QTP ?As i
am new in QTP.Give sample VB script used in QTP? PLZ
Answer Posted / mike w.
An EXCELLENT resource is http://www.w3schools.com/VBscript/default.asp
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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
What are the key elements available in test result window?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
what is the difference between the modular framework and datadriven frame work
Diff b/w test scenario's and test Procedures?
How to use descriptive programming?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Hi All, How to get repeated word in string . Thanks Balaji
what is the difference between built-i function and In-built function?
What is the descriptive programming?
What is keyword view?
How to capture all the data of a webtable, weblist and combolist using QTP?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly