Hi,
I am new to QTP and vb.script.How to start to write
vb.script in QTP? Please give me suggestions?
Answer Posted / satyanarayana
Hi dear it is very easy to write vb scripting.
First of all we have to understand what the actions to be
performed by us on the application.
Actions means entering a value or clicking a button or
selecting a value from a list dropdown list or selecting or
deselecting a check box.
example for a edit box
Browser("browsername").Page("pagename").Webedit("username").set"satyanarayana"
like the above for buttons .click
for list boxes .select"satyanarayana"
for radio buttons .set
for check boxes .set"on/off"
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How QTP support all types of applications (platforms)?
How many add-ins comes by default with qtp?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
how to do the batch testing in test director using manual testing procedure?
Is QTP supports Unix. If yes, then how the test automation is done?
Explain advantages and disadvantages kdf?
How does qtp identify gui object?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
How many types of actions are there in quicktest professional (qtp)?
Tell some commonly used Excel VBA functions?
How would you directly trigger javascript in a test?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
Give the syntax to load function at run time.