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
Answers were Sorted based on User's Feedback
Answer / dhana
first of all u need to add Objects in u r Application on
which u want to perform Operations to Object repository.
For ex:u need to Add Browser,Page,Frame,Webedit
(Username,Password),webbutton objects to objectRepository
then once u write "Browser" in Expert view,QTP
automatically vl popup the Browsername so as for page and
for Subsequent objects also...
for ex:
Browser("Browsername").Page("Pagename").frame
("Framename").webedit("Username").set 12345
Browser("Browsername").Page("Pagename").frame
("Framename").webedit("Password").setsecure asdahsxcasjd2362
Browser("Browsername").Page("Pagename").frame
("Framename").webbutton("Login").click
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / mike w.
An EXCELLENT resource is http://www.w3schools.com/VBscript/default.asp
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dhanapal
Dim - For variable/object declaration
set - assigning value to the variable/object/property.
Ubound - upper bound value of an array.
Lbound - lower bound value of an array.
len(var_name) - to find the length of the variable.
Is This Answer Correct ? | 0 Yes | 0 No |
If the object property is changing very frequently, what was your approach?
How many types of Parameters are available in QTP?
Difference between test object and run time object?
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
hi, In A Table there are some columns and dynamic rows and in each row in first column there is a link with name. upon clicking on that link it will show some details. write the vbscript to check that link without descriptive programming?
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?
Please explain about unicode compatibility in QTP. how we can able to use it. Please help me
What is test fusion report?
Test cases for Traffic Signals
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to map Test cases to the script? Please do anwser urgently?Thanks